/* Jenny homepage — warm Mediterranean creator brand */

.j-section {
  position: relative;
  padding-block: 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.j-section--tight {
  padding-block: 16px 32px;
}

.j-section--tight .j-section__head {
  margin-top: 0;
}

.j-section--cream {
  background: var(--paper);
}

.j-section--wash {
  background: var(--wash);
}

.j-section--coral {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--gold-soft) 100%);
}

.j-section--wave::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath fill='%23fcfaf6' d='M0,24 C200,48 400,0 600,24 C800,48 1000,0 1200,24 L1200,0 L0,0 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  pointer-events: none;
}

.j-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.j-blob--coral {
  width: 220px;
  height: 220px;
  background: var(--coral-soft);
  top: -40px;
  right: -60px;
  opacity: 0.35;
}

.j-blob--gold {
  width: 220px;
  height: 220px;
  background: var(--gold-soft);
  bottom: 5%;
  left: -60px;
}

.j-section > .j-blob {
  position: absolute;
  z-index: 0;
}

.j-section > *:not(.j-blob) {
  position: relative;
  z-index: 1;
}

.j-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Hero */
.j-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 16px 24px;
  border-top: none;
}

.j-hero__main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px 36px;
  align-items: center;
}

.j-hero__copy {
  min-width: 0;
}

.j-hero__accent {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 8px;
}

.j-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.j-hero__em {
  display: block;
  color: var(--terracotta);
  font-weight: 700;
}

.j-hero__subtitle {
  font-size: 15px;
  color: var(--ink2);
  margin-top: 12px;
  max-width: 420px;
  line-height: 1.55;
}

.j-hero-capture {
  margin-top: 14px;
  max-width: 520px;
}

.j-hero-capture__prompt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.j-hero-capture__form {
  display: block;
}

.j-hero-capture__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.j-hero-capture__input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.j-hero-capture__input::placeholder {
  color: var(--ink3);
}

.j-hero-capture__input:focus {
  outline: none;
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(242, 168, 184, 0.25);
}

.j-hero-capture__submit {
  white-space: nowrap;
  padding-inline: 16px;
  font-size: 13px;
}

.j-hero-capture__message {
  min-height: 0;
  margin-top: 6px;
  font-size: 12px;
}

.j-hero-capture__message.is-success { color: var(--sage); }
.j-hero-capture__message.is-error { color: #b85c5c; }

.j-hero-capture__privacy {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink3);
}

.j-collage {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  margin-right: 0;
  width: 100%;
  padding-bottom: 12px;
}

.j-collage__main {
  width: 78%;
  margin-left: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(46, 43, 41, 0.15);
  border: 4px solid #fff;
}

.j-collage__main img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.j-collage__small {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(46, 43, 41, 0.12);
}

.j-collage__small--a {
  width: 38%;
  left: 0;
  top: 12%;
  transform: rotate(-4deg);
}

.j-collage__small--b {
  width: 32%;
  left: 8%;
  bottom: 4%;
  transform: rotate(3deg);
}

.j-collage__small img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.j-float-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(46, 43, 41, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: j-float 4s ease-in-out infinite;
}

.j-float-card--1,
.j-collage > .j-float-card:nth-child(4) {
  right: -4%;
  top: 4%;
  animation-delay: 0s;
}

.j-float-card--2,
.j-collage > .j-float-card:nth-child(5) {
  right: 0;
  top: 38%;
  animation-delay: 0.8s;
}

.j-float-card--3,
.j-collage > .j-float-card:nth-child(6) {
  left: 36%;
  bottom: 2%;
  animation-delay: 1.6s;
}

.j-float-card__icon { font-size: 18px; }
.j-float-card__value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.j-float-card__label {
  font-size: 11px;
  color: var(--ink3);
}

@keyframes j-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Trust */
.j-trust {
  text-align: center;
  padding-block: 0 20px;
  margin-bottom: 8px;
}

.j-trust--inline {
  padding-top: 0;
  padding-bottom: 24px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.j-trust--hero {
  margin-top: 4px;
  padding-top: 16px;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.j-trust--hero .j-trust__flags {
  margin: 0;
  justify-content: flex-start;
  max-width: none;
}

.j-trust__title {
  font-size: 14px;
  color: var(--ink2);
  margin-bottom: 12px;
}

.j-trust__flags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  max-width: 520px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1;
}

/* YouTube grid */
.j-youtube-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
}

.j-yt-card {
  display: block;
  color: inherit;
}

.j-yt-card__thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e4e0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.j-yt-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.j-yt-card:hover .j-yt-card__thumb img {
  transform: scale(1.04);
}

.j-yt-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 43, 41, 0);
  color: #fff;
  font-size: 20px;
  transition: background 0.2s ease;
}

.j-yt-card:hover .j-yt-card__play {
  background: rgba(46, 43, 41, 0.28);
}

.j-yt-card__title {
  margin: 10px 4px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.j-section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.j-section__head--row .j-section__subtitle {
  margin-bottom: 0;
}

/* About editorial */
.j-about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.j-about__visual {
  position: relative;
}

.j-about__portrait {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(46, 43, 41, 0.14);
}

.j-about__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.j-about__quote {
  position: absolute;
  right: -20px;
  bottom: 24px;
  max-width: 240px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(46, 43, 41, 0.12);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--coral);
}

.j-about__heading {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 800;
}

.j-about__text {
  font-size: 16px;
  color: var(--ink2);
  margin-top: 16px;
  line-height: 1.65;
  max-width: 480px;
}

.j-timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--coral-soft);
  padding-left: 24px;
}

.j-timeline__item {
  position: relative;
  padding-bottom: 24px;
}

.j-timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--coral-soft);
}

.j-timeline__year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.j-timeline__title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--ink);
}

.j-timeline__text {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 4px;
}

/* Lesson steps — horizontal cards */
.j-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.j-step {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.j-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(46, 43, 41, 0.1);
}

.j-step__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.j-step__body {
  padding: 18px 20px 22px;
}

.j-step__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.j-step__title {
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  color: var(--ink);
}

.j-step__text {
  font-size: 14px;
  color: var(--ink2);
  margin-top: 8px;
  line-height: 1.55;
}

/* Magazine course cards */
.j-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.j-course {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.j-course:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 44px rgba(46, 43, 41, 0.12);
}

.j-course__link {
  display: block;
  color: inherit;
}

.j-course__buy {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

.j-course__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.j-course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.j-course:hover .j-course__media img {
  transform: scale(1.06);
}

.j-course__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.j-course__overlay {
  position: absolute;
  inset: 0;
  background: rgba(242, 168, 184, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.j-course:hover .j-course__overlay {
  opacity: 1;
}

.j-course__overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 999px;
}

.j-course__body {
  padding: 18px 20px 22px;
}

.j-course__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink3);
  margin-bottom: 8px;
}

.j-course__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.2;
}

.j-course__summary {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 8px;
  line-height: 1.5;
}

.j-course__price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--coral-dark);
  margin-top: 14px;
  font-weight: 700;
}

/* Testimonials */
.j-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.j-testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(46, 43, 41, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.j-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 43, 41, 0.09);
}

.j-testimonial__quote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}

.j-testimonial__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.j-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--coral-soft);
}

.j-testimonial__name {
  font-weight: 600;
  font-size: 14px;
}

.j-testimonial__meta {
  font-size: 13px;
  color: var(--ink3);
  margin-top: 2px;
}

/* Transformations */
.j-transforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.j-transform {
  background: linear-gradient(135deg, #fff 0%, var(--coral-soft) 100%);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
}

.j-transform__arrow {
  font-size: 24px;
  color: var(--coral);
  margin: 12px 0;
}

.j-transform__before {
  font-size: 14px;
  color: var(--ink3);
  text-decoration: line-through;
}

.j-transform__after {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
}

.j-transform__author {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
}

/* FAQ split */
.j-faq {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.j-faq__visual img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(46, 43, 41, 0.12);
}

.j-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.j-faq .faq-item {
  border-radius: 14px;
  transition: box-shadow 0.2s ease;
}

.j-faq .faq-item[open] {
  box-shadow: 0 6px 20px rgba(46, 43, 41, 0.06);
}

.j-faq .faq-item__question {
  padding: 18px 20px;
  font-size: 15px;
}

.j-faq .faq-item__answer {
  padding: 0 20px 18px;
  font-size: 14px;
}

/* Newsletter */
.j-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(120deg, var(--coral-soft) 0%, var(--gold-soft) 55%, var(--wash) 100%);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--line);
}

.j-newsletter__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--ink);
  line-height: 1.15;
}

.j-newsletter__benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.j-newsletter__benefits li {
  font-size: 14px;
  color: var(--ink2);
  padding-left: 22px;
  position: relative;
}

.j-newsletter__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.j-newsletter__form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(46, 43, 41, 0.08);
}

.j-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.j-newsletter__form .lead-form__row {
  gap: 12px;
}

.j-newsletter__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  background: var(--paper);
}

.j-newsletter__input:focus {
  outline: 2px solid var(--coral-soft);
  border-color: var(--coral);
}

.j-newsletter__message {
  font-size: 13px;
  margin-top: 8px;
  min-height: 1.2em;
}

.j-newsletter__message.is-success { color: var(--sage); }
.j-newsletter__message.is-error { color: #b85c5c; }

/* Final CTA */
.j-final-cta {
  text-align: center;
  padding-block: 64px;
  background: var(--ink);
  color: #fff;
  border-top: none;
}

.j-final-cta .section__title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.j-final-cta .section__lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 14px auto 0;
}

.j-final-cta .btn--rose-lg {
  margin-top: 28px;
}

.j-section__head {
  margin-bottom: 24px;
  margin-top: 28px;
}

.j-section__head:first-child {
  margin-top: 0;
}

.j-section__head--center {
  text-align: center;
}

.j-section__head--compact {
  margin-bottom: 16px;
}

.j-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 800;
}

.j-section__subtitle {
  font-size: 16px;
  color: var(--ink2);
  margin-top: 10px;
  max-width: 520px;
}

.j-section__head--center .j-section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.j-link {
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid var(--coral-soft);
  transition: border-color 0.2s ease;
}

.j-link:hover {
  border-color: var(--coral);
}

@media (min-width: 961px) {
  .j-collage__main img {
    min-height: 460px;
    aspect-ratio: auto;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .j-youtube-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .j-hero__main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .j-hero {
    gap: 0;
    padding-block: 20px 8px;
  }

  .j-hero-capture__row {
    grid-template-columns: 1fr 1fr;
  }

  .j-hero-capture__submit {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .j-trust--hero {
    margin-top: 14px;
    padding-top: 12px;
  }

  .j-newsletter__form .lead-form__row {
    grid-template-columns: 1fr;
  }

  .j-collage {
    display: none;
  }

  .j-about,
  .j-faq,
  .j-newsletter {
    grid-template-columns: 1fr;
  }

  .j-steps,
  .j-courses,
  .j-transforms {
    grid-template-columns: 1fr;
  }

  .j-testimonials {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .j-about__quote {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -40px;
    margin-left: 20px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .j-testimonials {
    grid-template-columns: 1fr;
  }

  .j-youtube-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .j-float-card {
    display: none;
  }

  .j-collage__small--a,
  .j-collage__small--b {
    width: 28%;
  }
}
