/* Phase 3 — five professional Reference-inspired heroes (#24–28) */

/* ========== 24. Soft Panel Product ========== */
.hero-soft-panel {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 32rem;
  overflow: hidden;
  background: var(--hero-field, #f7f8fa);
}

.hero-soft-panel .hero-nav {
  position: relative;
  z-index: 4;
  background: transparent;
  border-bottom: 0;
}

.hero-soft-panel__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem 2.25rem;
  flex: 1;
}

.hero-soft-panel__copy {
  max-width: 26rem;
}

.hero-soft-panel__copy .hero-title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-soft-panel__copy .hero-title-accent {
  color: var(--accent-hot);
}

.hero-soft-panel__visual {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: center;
}

.hero-soft-panel__panel {
  position: absolute;
  z-index: 0;
  width: min(92%, 24rem);
  aspect-ratio: 1;
  border-radius: 2.5rem;
  background: color-mix(in srgb, var(--accent) 14%, var(--accent-soft));
  box-shadow: 0 24px 48px color-mix(in srgb, var(--ink) 10%, transparent);
}

.hero-soft-panel__ghost {
  position: absolute;
  z-index: 1;
  margin: 0;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero-soft-panel__product {
  position: relative;
  z-index: 2;
  width: min(62%, 14rem);
  filter: drop-shadow(0 22px 40px color-mix(in srgb, var(--ink) 22%, transparent));
  animation: soft-panel-rise 0.85s ease-out both;
}

.hero-soft-panel__product img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
}

@keyframes soft-panel-rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 48rem) {
  .hero-soft-panel__body {
    grid-template-columns: 1fr;
  }

  .hero-soft-panel__visual {
    order: -1;
    min-height: 15rem;
  }

  .hero-soft-panel__panel {
    width: min(78%, 16rem);
  }

  .hero-soft-panel__product {
    width: min(48%, 10rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-soft-panel__product {
    animation: none;
  }
}

/* ========== 25. Inset Photo Stage ========== */
.hero-inset-stage {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 36rem;
  overflow: hidden;
  background: var(--hero-field, #f4f7fb);
}

.hero-inset-stage .hero-nav {
  position: relative;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
}

.hero-inset-stage__intro {
  position: relative;
  z-index: 4;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 1.25rem;
  text-align: center;
}

.hero-inset-stage__intro .hero-title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-inset-stage__intro .hero-lede {
  margin-inline: auto;
  max-width: 38ch;
}

.hero-inset-stage__intro .hero-actions {
  justify-content: center;
}

.hero-inset-stage__play {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

.hero-inset-stage__play:hover {
  background: var(--accent-deep);
}

.hero-inset-stage__stage {
  position: relative;
  z-index: 2;
  margin: 0 1.25rem 0;
  min-height: 16rem;
  border-radius: 2rem;
  overflow: visible;
}

.hero-inset-stage__photo {
  display: block;
  width: 100%;
  height: min(42vw, 18rem);
  min-height: 14rem;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 16%, transparent);
}

.hero-inset-stage__cutout {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: -12%;
  width: min(26%, 8.5rem);
  filter: drop-shadow(0 16px 28px color-mix(in srgb, var(--ink) 25%, transparent));
  animation: inset-bob 6s ease-in-out infinite;
}

.hero-inset-stage__exit {
  display: block;
  width: 100%;
  height: 3rem;
  margin-top: -0.25rem;
  max-width: none;
}

@keyframes inset-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35rem); }
}

@media (max-width: 48rem) {
  .hero-inset-stage__intro {
    text-align: left;
    margin: 0;
    padding-inline: 1.15rem;
  }

  .hero-inset-stage__intro .hero-lede {
    margin-inline: 0;
  }

  .hero-inset-stage__intro .hero-actions {
    justify-content: flex-start;
  }

  .hero-inset-stage__stage {
    margin-inline: 1rem;
  }

  .hero-inset-stage__photo {
    height: 12rem;
    border-radius: 1.5rem;
  }

  .hero-inset-stage__cutout {
    width: min(34%, 6.5rem);
    top: -10%;
    right: 4%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inset-stage__cutout {
    animation: none;
  }
}

/* ========== 26. Proof Loop SaaS ========== */
.hero-proof-loop {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 32rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 40% at 82% 45%, color-mix(in srgb, var(--accent-soft) 90%, transparent), transparent 70%),
    var(--hero-field, #f7f9fc);
}

.hero-proof-loop .hero-nav {
  position: relative;
  z-index: 4;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.hero-proof-loop__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 1.5rem 2.25rem;
  flex: 1;
}

.hero-proof-loop__copy {
  max-width: 28rem;
}

.hero-proof-loop__copy .hero-title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero-proof-loop__copy .hero-title-accent {
  color: var(--accent-hot);
}

.hero-proof-loop__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof-loop__proof li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.hero-proof-loop__diagram {
  position: relative;
  aspect-ratio: 1;
  max-width: 22rem;
  margin-inline: auto;
  width: 100%;
}

.hero-proof-loop__ring {
  position: absolute;
  inset: 12%;
  border: 2px dashed color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.hero-proof-loop__node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.75rem;
  height: 4.75rem;
  padding: 0.35rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--ink) 10%, transparent);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.hero-proof-loop__node--a { top: 4%; left: 50%; transform: translateX(-50%); }
.hero-proof-loop__node--b { top: 50%; right: 2%; transform: translateY(-50%); }
.hero-proof-loop__node--c { bottom: 4%; left: 50%; transform: translateX(-50%); }
.hero-proof-loop__node--d { top: 50%; left: 2%; transform: translateY(-50%); }

.hero-proof-loop__hub {
  position: absolute;
  z-index: 1;
  inset: 36%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 35%, transparent);
}

@media (max-width: 48rem) {
  .hero-proof-loop__body {
    grid-template-columns: 1fr;
  }

  .hero-proof-loop__diagram {
    order: -1;
    max-width: 16rem;
  }

  .hero-proof-loop__node {
    width: 3.75rem;
    height: 3.75rem;
    font-size: 0.58rem;
    border-radius: 0.85rem;
  }
}

/* ========== 27. Skew Band Booking ========== */
.hero-skew-book {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 34rem;
  overflow: hidden;
  color: #fff;
  background: #1a2332 center / cover no-repeat;
}

.hero-skew-book__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-skew-book__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(12 18 28 / 0.55) 0%, rgb(12 18 28 / 0.35) 45%, rgb(12 18 28 / 0.72) 100%);
  pointer-events: none;
}

.hero-skew-book .hero-nav {
  position: relative;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
}

.hero-skew-book__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 3.5rem;
  flex: 1;
  text-align: center;
}

.hero-skew-book__copy {
  max-width: 34rem;
}

.hero-skew-book__copy .hero-eyebrow {
  color: color-mix(in srgb, var(--accent-hot) 85%, #fff);
}

.hero-skew-book__copy .hero-title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.35);
}

.hero-skew-book__copy .hero-lede {
  margin-inline: auto;
  max-width: 42ch;
  color: rgb(255 255 255 / 0.88);
}

.hero-skew-book__form {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 0.65rem;
  align-items: end;
  width: min(100%, 34rem);
  padding: 0.85rem;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.28);
  text-align: left;
  color: var(--ink, #1a2332);
}

.hero-skew-book__form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted, #5a6578);
}

.hero-skew-book__form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border, #d5dce6);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--ink, #1a2332);
}

.hero-skew-book__form .hero-btn {
  min-height: 2.75rem;
  padding-inline: 1.25rem;
}

.hero-skew-book__band {
  position: absolute;
  z-index: 2;
  left: -5%;
  right: -5%;
  bottom: -1.25rem;
  height: 4.5rem;
  background: var(--accent-hot);
  transform: skewY(-2.5deg);
  pointer-events: none;
}

@media (max-width: 48rem) {
  .hero-skew-book__form {
    grid-template-columns: 1fr;
  }

  .hero-skew-book__form .hero-btn {
    width: 100%;
  }

  .hero-skew-book__band {
    height: 3.25rem;
  }
}

/* ========== 28. Editorial Offset Cutout ========== */
.hero-editorial-cutout {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 34rem;
  overflow: visible;
  background: var(--hero-field, #f5f6f8);
}

.hero-editorial-cutout .hero-nav {
  position: relative;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
}

.hero-editorial-cutout__social {
  position: absolute;
  z-index: 4;
  left: 0.75rem;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transform: translateY(-50%);
}

.hero-editorial-cutout__social a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 8%, transparent);
}

.hero-editorial-cutout__social a:hover {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: #fff;
}

.hero-editorial-cutout__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: end;
  padding: 1rem 1.5rem 0;
  flex: 1;
}

.hero-editorial-cutout__copy {
  max-width: 26rem;
  padding: 1rem 0 2.5rem 2.25rem;
}

.hero-editorial-cutout__hi {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-hot);
}

.hero-editorial-cutout__copy .hero-title {
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.hero-editorial-cutout__role {
  margin: 0.65rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.hero-editorial-cutout__visual {
  position: relative;
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-editorial-cutout__people {
  position: relative;
  z-index: 2;
  width: min(85%, 16rem);
  margin-bottom: -1.75rem;
  filter: drop-shadow(0 18px 36px color-mix(in srgb, var(--ink) 18%, transparent));
  animation: editorial-rise 0.9s ease-out both;
}

@keyframes editorial-rise {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 48rem) {
  .hero-editorial-cutout__social {
    display: none;
  }

  .hero-editorial-cutout__body {
    grid-template-columns: 1fr;
  }

  .hero-editorial-cutout__copy {
    padding: 0.5rem 0 1.5rem;
    order: 1;
  }

  .hero-editorial-cutout__visual {
    order: 0;
    min-height: 14rem;
  }

  .hero-editorial-cutout__people {
    width: min(55%, 11rem);
    margin-bottom: -0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-editorial-cutout__people {
    animation: none;
  }
}
