/* Openline marketing site: the hero. Restored from the deployed version
   (commit e845b17) at the owner's request: the black editorial panel with
   left-aligned serif headline, the silver sculpture, the tilted voice card and
   two outcome cards, and the hairline rail. Deviations from e845b17, all
   owner-approved: it sits below the 72px nav, uses the current type scale and
   32px buttons, and follows the light/dark theme like the deployed version. Its motion
   (word blur-in, waveform settle, card entrances) lives in motion.css. */

.hero {
  padding: 0 var(--inset);
}

/* the panel follows the page theme, as the deployed version did */
.hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 clamp(16px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: linear-gradient(160deg, var(--bg) 38%, var(--surface));
  color: var(--text);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-glow::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 70%;
  height: 580px;
  background: radial-gradient(ellipse, rgba(155, 185, 232, 0.14), transparent 65%);
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: 1240px;
  min-height: 665px;
  margin: auto;
  padding: 68px 0 48px;
}

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  color: var(--ink);
}

.hero h1 .w {
  display: inline-block;
}

/* e845b17 slants the regular cut; allow the browser to do the same */
.hero-italic {
  font-style: italic;
  font-synthesis: style;
  color: var(--text);
}

.hero-copy {
  display: grid;
  gap: 24px;
  max-width: 430px;
  margin-top: 28px;
}

.hero-copy .lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-footnote {
  font-size: var(--fs-micro);
  color: var(--muted);
}

.btn-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

/* ---------- artwork: sculpture + floating cards ---------- */

.hero-art {
  position: relative;
  min-width: 0;
  height: 530px;
}

.hero-sculpture {
  position: absolute;
  left: -20%;
  width: 140%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 64% 63% at 50% 49%, #000 40%, rgba(0, 0, 0, 0.85) 57%, transparent 79%);
  mask-image: radial-gradient(ellipse 64% 63% at 50% 49%, #000 40%, rgba(0, 0, 0, 0.85) 57%, transparent 79%);
}

/* dark theme: the silver loop inverts and glows faintly, as deployed */
:root[data-theme="dark"] .hero-sculpture {
  opacity: 0.38;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1);
}

.voice-card {
  position: absolute;
  left: 6%;
  right: 5%;
  top: 23%;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.22);
  transform: rotate(-3deg);
}

.voice-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voice-card-top > div {
  min-width: 0;
}

.voice-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
}

.voice-symbol svg {
  width: 26px;
  height: 26px;
}

.voice-card-top b {
  display: block;
  font-size: var(--fs-frag);
  font-weight: 500;
  color: var(--ink);
}

.voice-card-top div > span {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-micro);
  color: var(--muted);
}

.voice-tag {
  margin-left: auto;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--muted);
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 94px;
  padding: 12px 0;
}

.waveform i {
  width: 3px;
  height: var(--bar);
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.6;
}

.voice-line {
  font-size: var(--fs-frag);
  text-align: center;
  color: var(--ink);
}

.voice-languages {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-micro);
  color: var(--muted);
}

.voice-languages [lang] {
  line-height: 1.5;
}

.outcome {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 272px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-frag);
  color: var(--ink);
}

.outcome > svg {
  width: 25px;
  height: 25px;
}

.outcome b {
  display: block;
  font-size: var(--fs-frag);
  font-weight: 500;
}

.outcome small {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-micro);
  color: var(--muted);
}

.outcome-check {
  margin-left: auto;
  font-size: var(--fs-frag);
}

.outcome-document {
  top: 8%;
  right: -2%;
  transform: rotate(3deg);
}

.outcome-booking {
  bottom: 10%;
  left: 2%;
  transform: rotate(2deg);
}

.art-caption {
  position: absolute;
  right: 8%;
  bottom: 0;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- the hairline rail ---------- */

.hero-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: auto;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-micro);
  color: var(--muted);
}

.hero-rail div {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: var(--ink);
}

/* ---------- responsive (as e845b17) ---------- */

@media (max-width: 960px) {
  .hero-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    max-width: 680px;
    padding-top: 52px;
  }

  .hero-title {
    text-align: center;
  }

  .hero .kicker,
  .hero-ctas {
    justify-content: center;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-art {
    width: min(520px, 100%);
    height: 460px;
    margin: auto;
  }

  .hero-rail {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-rail div {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-panel {
    padding: 0 20px;
  }

  .hero .kicker {
    letter-spacing: 0.05em;
  }

  .hero-top {
    min-height: 0;
  }

  .hero-art {
    height: 410px;
  }

  .voice-card {
    left: 0;
    right: 0;
    padding: 15px;
  }

  .voice-card-top div > span {
    max-width: 160px;
  }

  .voice-tag {
    display: none;
  }

  .waveform {
    gap: 3px;
    height: 78px;
  }

  .outcome {
    width: 230px;
    padding: 12px;
  }

  .outcome-document {
    top: 2%;
    right: 0;
  }

  .outcome-booking {
    bottom: 8%;
    left: 0;
  }

  .hero-rail div {
    gap: 12px 18px;
  }

  .hero-ctas {
    display: grid;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
