.jf-results-hero {
  --jyf-gold: #d5b57c;
  --jyf-cream: #f6f0e5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(8rem, 10vw, 9.5rem) 0 0;
  background:
    radial-gradient(ellipse at 82% 36%, rgba(169, 128, 64, .13), transparent 48%),
    linear-gradient(115deg, #11120f 4%, #1d1c17 100%);
  color: var(--jyf-cream);
  font-family: var(--jf-sans, Arial, sans-serif);
}

.jf-results-hero,
.jf-results-hero *,
.jf-results-hero *::before,
.jf-results-hero *::after {
  box-sizing: border-box;
}

.jf-results-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(213, 181, 124, .035) calc(25% - 1px), rgba(213, 181, 124, .035) 25%);
  pointer-events: none;
}

.jf-results-hero::after {
  content: "";
  position: absolute;
  top: -26rem;
  right: -20rem;
  width: 58rem;
  height: 58rem;
  border: 1px solid rgba(213, 181, 124, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(213, 181, 124, .018), 0 0 0 12rem rgba(213, 181, 124, .012);
  pointer-events: none;
}

.jf-results-hero__content {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - clamp(2.5rem, 8vw, 8rem)));
  margin-inline: auto;
  padding-inline: 0;
}

.jf-results-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.jf-results-hero__intro {
  min-width: 0;
  animation: jf-method-enter .65s ease-out both;
}

.jf-results-hero .jf-results-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin: 0;
  color: var(--jyf-gold);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.6;
  text-transform: uppercase;
}

.jf-results-hero__eyebrow span {
  color: #80735c;
}

.jf-results-hero .jf-results-hero__title {
  max-width: none;
  margin: 1.25rem 0 0;
  color: var(--jyf-cream);
  font-family: var(--jf-serif, Georgia, "Times New Roman", serif);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
}

.jf-results-hero__title-method {
  display: block;
  font-size: clamp(3.7rem, 6.7vw, 6.2rem);
  line-height: 1.04;
}

.jf-results-hero__title-name {
  display: block;
  margin-top: .015em;
  color: var(--jyf-gold);
  font-size: clamp(6.5rem, 11.5vw, 10.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .94;
}

.jf-results-hero .jf-results-hero__description {
  max-width: 43ch;
  margin: 1.6rem 0 0;
  color: #c5c0b6;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.jf-results-hero__description strong {
  color: var(--jyf-cream);
  font-weight: 600;
}

.jf-results-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.jf-results-hero .jf-results-hero__button {
  display: inline-flex;
  min-height: 52px;
  max-width: 100%;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: .4rem;
  padding: .95rem 1.15rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.jf-results-hero .jf-results-hero__button--primary {
  border-color: var(--jyf-gold);
  background: var(--jyf-gold);
  color: #191a15;
}

.jf-results-hero .jf-results-hero__button--secondary {
  border-color: rgba(213, 181, 124, .3);
  background: transparent;
  color: var(--jyf-cream);
}

.jf-results-hero__button svg,
.jf-results-hero__explore svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.jf-results-hero__button:focus-visible,
.jf-results-hero__explore:focus-visible {
  outline: 3px solid var(--jyf-gold);
  outline-offset: 5px;
}

.jf-method-signature {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(213, 181, 124, .27);
  border-radius: 1rem;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(213, 181, 124, .075), transparent 65%),
    rgba(255, 255, 255, .015);
  padding: clamp(1.4rem, 2.7vw, 2rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .13);
  animation: jf-method-enter .85s ease-out both;
}

.jf-method-signature__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.jf-results-hero .jf-method-signature__label {
  margin: 0;
  color: var(--jyf-gold);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.jf-method-signature__spark {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: var(--jyf-gold);
}

.jf-method-signature__art {
  position: relative;
  display: flex;
  min-width: 0;
  height: clamp(10.5rem, 15vw, 12rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: .3rem 0 .8rem;
}

.jf-method-signature__strands {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--jyf-gold);
  opacity: .32;
  pointer-events: none;
}

.jf-method-signature__monogram {
  position: relative;
  color: var(--jyf-gold);
  font-family: var(--jf-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(6rem, 9.5vw, 8rem);
  font-style: italic;
  letter-spacing: -.08em;
  line-height: 1.1;
  text-shadow: 0 3px 35px #222018;
}

.jf-method-signature__brand {
  position: relative;
  margin-top: .6rem;
  color: #d0c4aa;
  font-size: .53rem;
  letter-spacing: .2em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.jf-method-signature__body {
  position: relative;
  border-top: 1px solid rgba(213, 181, 124, .2);
  padding-top: 1.25rem;
}

.jf-results-hero .jf-method-signature__body h2 {
  margin: 0;
  color: var(--jyf-cream);
  font-family: var(--jf-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(1.65rem, 2.45vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-wrap: balance;
}

.jf-method-signature__body h2 em {
  color: #dbc8a3;
  font-weight: inherit;
}

.jf-method-signature__qualities {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.jf-method-signature__qualities li {
  display: flex;
  gap: .5rem;
  align-items: center;
  color: #c5c0b6;
  font-size: .65rem;
  letter-spacing: .06em;
  line-height: 1.5;
}

.jf-method-signature__qualities li::before {
  content: "";
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jyf-gold);
}

.jf-results-hero__footer {
  display: flex;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  border-top: 1px solid rgba(213, 181, 124, .2);
  padding: 1.2rem 0;
}

.jf-results-hero__footer p {
  margin: 0;
  color: var(--jyf-cream);
  font-size: .76rem;
  line-height: 1.6;
}

.jf-results-hero__footer p span {
  margin-left: .4rem;
  color: #b8b2a5;
}

.jf-results-hero .jf-results-hero__explore {
  display: inline-flex;
  min-height: 44px;
  flex-shrink: 0;
  gap: 1rem;
  align-items: center;
  border-radius: .3rem;
  color: var(--jyf-gold);
  font-size: .74rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.jf-results-hero__explore-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(213, 181, 124, .35);
  border-radius: 50%;
  transition: background-color .2s ease;
}

@media (hover: hover) {
  .jf-results-hero .jf-results-hero__button:hover {
    transform: translateY(-2px);
  }

  .jf-results-hero .jf-results-hero__button--primary:hover {
    border-color: #e4c996;
    background: #e4c996;
  }

  .jf-results-hero .jf-results-hero__button--secondary:hover {
    border-color: var(--jyf-gold);
    background: rgba(213, 181, 124, .07);
  }

  .jf-results-hero__explore:hover .jf-results-hero__explore-icon {
    background: rgba(213, 181, 124, .12);
  }
}

@keyframes jf-method-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.jf-results-gallery {
  scroll-margin-top: 7rem;
  background:
    radial-gradient(circle at 5% 8%, rgba(223, 204, 177, .34), transparent 24rem),
    var(--jf-ivory);
}

.jf-results-gallery__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}

.jf-results-gallery__heading .jf-title {
  max-width: 16ch;
  margin-top: .55rem;
}

.jf-results-gallery__heading > p {
  color: var(--jf-ink-muted);
  font-size: .84rem;
  line-height: 1.75;
}

.jf-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.jf-comparison-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--jf-line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 54px rgba(18, 17, 15, .09);
}

.jf-comparison {
  --comparison-position: 15%;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #d9cdbd;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.jf-comparison::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, .3), transparent 23%, transparent 68%, rgba(8, 7, 6, .42));
  pointer-events: none;
}

.jf-comparison__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.jf-comparison__image--before {
  z-index: 0;
  object-position: var(--before-position, 50% 50%);
}

.jf-comparison__after {
  position: absolute;
  z-index: 1;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.jf-comparison__image--after {
  object-position: var(--after-position, 50% 50%);
}

.jf-comparison__label,
.jf-comparison__hint {
  position: absolute;
  z-index: 4;
  color: #fff;
  font-family: var(--jf-sans);
  font-weight: 800;
  letter-spacing: .08em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
  pointer-events: none;
}

.jf-comparison__label {
  top: 1rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(18, 17, 15, .62);
  padding: .42rem .68rem;
  font-size: .62rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jf-comparison__label--after { left: 1rem; }
.jf-comparison__label--before { right: 1rem; }

.jf-comparison__hint {
  right: 1rem;
  bottom: .9rem;
  left: 1rem;
  font-size: .65rem;
  text-align: center;
}

.jf-comparison__slider {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}

.jf-comparison__slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 100%;
  background: transparent;
}

.jf-comparison__slider::-webkit-slider-thumb {
  width: 1px;
  height: 100%;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.jf-comparison__slider::-moz-range-track {
  height: 100%;
  border: 0;
  background: transparent;
}

.jf-comparison__slider::-moz-range-thumb {
  width: 1px;
  height: 100%;
  border: 0;
  background: transparent;
}

.jf-comparison__line {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 14px rgba(0, 0, 0, .42);
  transform: translateX(-1px);
  pointer-events: none;
}

.jf-comparison__handle {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: clamp(26px, var(--comparison-position), calc(100% - 26px));
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(18, 17, 15, .82);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jf-comparison__slider:focus-visible ~ .jf-comparison__handle {
  outline: 3px solid var(--jf-gold);
  outline-offset: 4px;
}

.jf-comparison-card__body {
  min-height: 88px;
  padding: 1.15rem 1.3rem 1.25rem;
}

.jf-comparison-card__body h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1;
}

.jf-comparison-card__body p {
  margin-top: .45rem;
  color: var(--jf-ink-muted);
  font-size: .74rem;
  line-height: 1.55;
}

.jf-comparison-card__body .jf-comparison-card__time {
  color: var(--jf-camel);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jf-results-note {
  display: flex;
  gap: .65rem;
  margin-top: 2rem;
  border: 1px solid var(--jf-line);
  border-radius: .75rem;
  background: rgba(255, 255, 255, .65);
  padding: 1rem 1.15rem;
  color: var(--jf-ink-muted);
  font-size: .76rem;
  line-height: 1.6;
}

.jf-results-note i {
  margin-top: .16rem;
  color: var(--jf-camel);
}

.jf-results-cta {
  background: linear-gradient(135deg, var(--jf-beige), #f2e8da);
}

.jf-results-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(152, 121, 87, .24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .5);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: 0 24px 60px rgba(18, 17, 15, .08);
}

.jf-results-cta h2 {
  margin-top: .35rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: .94;
}

.jf-results-cta p:not(.jf-eyebrow) {
  max-width: 680px;
  margin-top: .8rem;
  color: var(--jf-ink-muted);
  font-size: .84rem;
  line-height: 1.7;
}

@supports not (clip-path: inset(0 10% 0 0)) {
  .jf-comparison__after {
    right: auto;
    width: var(--comparison-position);
    overflow: hidden;
    clip-path: none;
  }

  .jf-comparison__after .jf-comparison__image {
    width: var(--comparison-width, 100vw);
  }
}

@media (max-width: 900px) {
  .jf-results-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .jf-results-hero .jf-results-hero__title {
    display: flex;
    gap: .24em;
    align-items: baseline;
    font-size: clamp(3.7rem, 8vw, 5.5rem);
  }

  .jf-results-hero__title-method {
    font-size: 1em;
  }

  .jf-results-hero__title-name {
    margin-top: 0;
    font-size: 1.35em;
  }

  .jf-results-hero .jf-results-hero__description {
    max-width: 52ch;
  }

  .jf-method-signature {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1rem 1.75rem;
    align-items: center;
  }

  .jf-method-signature__header {
    grid-column: 1 / -1;
  }

  .jf-method-signature__art {
    height: 10rem;
    margin: 0;
  }

  .jf-method-signature__monogram {
    font-size: 6rem;
  }

  .jf-method-signature__body {
    border-top: 0;
    border-left: 1px solid rgba(213, 181, 124, .2);
    padding: .4rem 0 .4rem 1.75rem;
  }
}

@media (max-width: 720px) {
  .jf-results-hero {
    padding-top: 8rem;
  }

  .jf-results-hero__footer {
    flex-wrap: wrap;
    margin-top: 2rem;
  }

  .jf-results-hero__footer p {
    font-size: .72rem;
  }

  .jf-results-gallery__heading,
  .jf-comparison-grid,
  .jf-results-cta__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .jf-results-gallery__heading {
    align-items: start;
  }

  .jf-comparison-grid {
    gap: 1.35rem;
  }

  .jf-comparison-card {
    border-radius: .9rem;
  }

  .jf-comparison__label {
    top: .75rem;
  }

  .jf-comparison__label--after { left: .75rem; }
  .jf-comparison__label--before { right: .75rem; }

  .jf-comparison__handle {
    left: clamp(24px, var(--comparison-position), calc(100% - 24px));
    width: 48px;
    height: 48px;
  }

  .jf-results-cta__panel .jf-btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .jf-results-hero__content {
    width: calc(100% - 2.5rem);
  }

  .jf-results-hero .jf-results-hero__eyebrow {
    gap: .55rem;
    font-size: .6rem;
    letter-spacing: .16em;
  }

  .jf-results-hero .jf-results-hero__title {
    display: block;
    margin-top: 1.1rem;
    font-size: clamp(3.4rem, 16vw, 4.6rem);
  }

  .jf-results-hero__title-name {
    margin-top: .02em;
    font-size: 1.7em;
  }

  .jf-results-hero .jf-results-hero__description {
    margin-top: 1.3rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  .jf-results-hero__actions {
    flex-direction: column;
    gap: .7rem;
    margin-top: 1.5rem;
  }

  .jf-results-hero .jf-results-hero__button {
    width: 100%;
    font-size: .84rem;
  }

  .jf-method-signature {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: .85rem 1rem;
    padding: 1.2rem;
  }

  .jf-method-signature__art {
    height: 8.75rem;
  }

  .jf-method-signature__monogram {
    font-size: clamp(3.6rem, 17vw, 5.5rem);
  }

  .jf-method-signature__brand {
    display: none;
  }

  .jf-method-signature__body {
    padding-left: 1rem;
  }

  .jf-results-hero .jf-method-signature__body h2 {
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  }

  .jf-method-signature__qualities {
    flex-direction: column;
    gap: .4rem;
    margin-top: .9rem;
  }

  .jf-results-hero__footer {
    gap: .5rem;
    padding: 1rem 0 1.15rem;
  }

  .jf-results-hero__footer p,
  .jf-results-hero .jf-results-hero__explore {
    width: 100%;
  }

  .jf-results-hero .jf-results-hero__explore {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jf-results-hero *,
  .jf-results-hero *::before,
  .jf-results-hero *::after,
  .jf-comparison,
  .jf-comparison * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
