/* HairSense - SEPAWA Congress popup (temporary). Uses main.css tokens with fallbacks. */
.hs-sepawa-lock, .hs-sepawa-lock body { overflow: hidden; }

.hs-sepawa {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(8, 18, 32, 0.72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 240ms ease;
}
.hs-sepawa.is-open { opacity: 1; }

.hs-sepawa__box {
  position: relative; width: 100%; max-width: 560px;
  max-height: calc(100vh - 32px); overflow: auto;
  background: #0B0F10; color: #E6EAEA;
  border: 1px solid rgba(97, 211, 143, .28);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(.98);
  transition: transform 320ms var(--ease, cubic-bezier(.22,1,.36,1)), max-width 320ms ease;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
}
.hs-sepawa.is-open .hs-sepawa__box { transform: none; }
.hs-sepawa.is-video .hs-sepawa__box { max-width: 960px; background: #000; }

.hs-sepawa__close {
  position: absolute; top: 8px; right: 10px; z-index: 3;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  font-size: 26px; line-height: 40px; cursor: pointer;
}
.hs-sepawa__close:hover, .hs-sepawa__close:focus-visible { background: rgba(255,255,255,.2); }

.hs-sepawa__step { display: none; }
.hs-sepawa__step.is-active { display: block; }
.hs-sepawa__step--intro, .hs-sepawa__visit { padding: 40px 36px 34px; }

.hs-sepawa__eyebrow {
  display: block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase;
  color: #61D38F;
}
.hs-sepawa__title {
  margin: 0 0 14px; color: #fff;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(34px, 6vw, 48px); line-height: 1.05; font-weight: 500; letter-spacing: -.01em;
}
.hs-sepawa__text { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: #C9D0D0; }

.hs-sepawa__meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  margin-bottom: 26px; font-size: 15px; color: #C9D0D0;
}
.hs-sepawa__booth {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: #61D38F; color: #0B0F10; font-weight: 700; letter-spacing: .02em;
}
.hs-sepawa__booth--xl { padding: 2px 16px; font-size: .9em; white-space: nowrap; }

.hs-sepawa__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hs-sepawa__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-md, 8px);
  font: 600 15px/1 var(--font-body, Inter, system-ui, sans-serif);
  text-decoration: none; cursor: pointer; transition: background 180ms ease, border-color 180ms ease;
}
.hs-sepawa__btn--primary { background: #61D38F; color: #0B0F10; border: 1px solid #61D38F; }
.hs-sepawa__btn--primary:hover, .hs-sepawa__btn--primary:focus-visible { background: #8BE3AE; border-color: #8BE3AE; }
.hs-sepawa__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.hs-sepawa__btn--ghost:hover, .hs-sepawa__btn--ghost:focus-visible { border-color: #fff; }

.hs-sepawa__video { position: relative; background: #000; aspect-ratio: 16 / 9; }
.hs-sepawa__video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.hs-sepawa__skip {
  position: absolute; right: 14px; bottom: 64px; z-index: 2;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; font: 600 13px/1 var(--font-body, Inter, sans-serif); cursor: pointer;
}

.hs-sepawa__banner { display: block; width: 100%; height: auto; max-height: 34vh; object-fit: cover;
  border-radius: var(--radius-lg, 14px) var(--radius-lg, 14px) 0 0; }

@media (max-width: 600px) {
  .hs-sepawa { padding: 10px; align-items: flex-end; }
  .hs-sepawa.is-video { align-items: center; }
  .hs-sepawa__step--intro, .hs-sepawa__visit { padding: 34px 22px 24px; }
  .hs-sepawa__btn { flex: 1 1 100%; }
  .hs-sepawa__skip { bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-sepawa, .hs-sepawa__box { transition: none; }
}

/* Banner-style details (matches SEPAWA LinkedIn post / booth banner) */
.hs-sepawa__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #9AA3A3; }
.hs-sepawa__title--booth { font-size: clamp(44px, 9vw, 64px); margin-bottom: 10px; }
.hs-sepawa__text--loc { font-size: 17px; }
.hs-sepawa__claim { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #61D38F; }
.hs-sepawa__step--visit .hs-sepawa__visit { padding-top: 22px; }
.hs-sepawa__close:focus-visible, .hs-sepawa__btn:focus-visible, .hs-sepawa__skip:focus-visible { outline: 2px solid #61D38F; outline-offset: 2px; }
.hs-sepawa.is-video .hs-sepawa__close { background: rgba(0,0,0,.6); }
@media (max-width: 600px) { .hs-sepawa__claim { letter-spacing: .12em; font-size: 11px; } }

/* Step 4 - story bridge: animal fibers -> human hair */
.hs-sepawa__fiber { position: relative; }
.hs-sepawa__fiber-tag { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9AA3A3; }
.hs-sepawa__title--story { font-size: clamp(30px, 5.4vw, 42px); }
.hs-sepawa__step--story .hs-sepawa__text { margin-bottom: 14px; }
.hs-sepawa__bridge { display: flex; align-items: center; gap: 14px; margin: 22px 0 26px; }
.hs-sepawa__bridge-item { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #9AA3A3; white-space: nowrap; }
.hs-sepawa__bridge-item b { font-size: 15px; font-weight: 600; color: #E6EAEA; }
.hs-sepawa__bridge-item--now b { color: #61D38F; }
.hs-sepawa__bridge-line { flex: 1; height: 2px; min-width: 40px; position: relative;
  background: linear-gradient(90deg, rgba(230,234,234,.35), #61D38F); }
.hs-sepawa__bridge-line::after { content: ""; position: absolute; right: -2px; top: -4px;
  border: 5px solid transparent; border-left: 8px solid #61D38F; border-right: 0; }
.hs-sepawa__step--story .hs-sepawa__box { max-width: 600px; }

/* Video in landscape: phone turned sideways -> video fills the screen */
@media (orientation: landscape) and (max-height: 520px) {
  .hs-sepawa.is-video { padding: 0; }
  .hs-sepawa.is-video .hs-sepawa__box { max-width: none; width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; border: 0; }
  .hs-sepawa.is-video .hs-sepawa__video { aspect-ratio: auto; height: 100vh; }
  .hs-sepawa.is-video .hs-sepawa__skip { bottom: 70px; }
}
/* Phone held upright: hint to rotate */
@media (orientation: portrait) and (max-width: 600px) {
  .hs-sepawa.is-video .hs-sepawa__video::after { content: "\21BB  Turn your phone for full screen"; position: absolute; left: 0; right: 0; top: calc(100% + 14px);
    text-align: center; font: 600 13px/1.4 var(--font-body, Inter, sans-serif); color: #C9D0D0; }
  .hs-sepawa.is-video .hs-sepawa__box { overflow: visible; }
}
.hs-sepawa__text strong { color: #fff; font-weight: 600; }
