/* Pomelli-scale editorial hero — full-bleed imagery */
.hero-editorial {
  padding: 0;
  min-height: min(92vh, 920px);
  background: #0f1419;
  color: #f4f2ee;
  position: relative;
  overflow: hidden;
}

.hero-editorial .hero-shell {
  display: grid;
  grid-template-columns: minmax(340px, 44%) 1fr;
  min-height: inherit;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vh, 72px) clamp(28px, 5vw, 72px) clamp(48px, 8vh, 80px);
  z-index: 2;
  background: linear-gradient(105deg, #0f1419 0%, #0f1419 88%, transparent 100%);
}

.hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e85a28;
  margin-bottom: 16px;
}

.hero-editorial h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
}

.hero-editorial h1 em {
  font-style: normal;
  color: #e85a28;
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(244, 242, 238, 0.78);
  max-width: 34rem;
  margin-bottom: 32px;
}

.url-form-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.url-form-dark .url-field input {
  color: #fff;
}

.url-form-dark .url-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.url-form-dark .url-icon {
  color: rgba(255, 255, 255, 0.45);
}

.hero-editorial .url-hint {
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
}

.trust-pills-dark {
  margin-top: 28px;
  gap: 16px;
}

.trust-pills-dark span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
}

.trust-pills-dark span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5eb8b0;
  margin-right: 8px;
  vertical-align: middle;
}

/* Right panel — real preview evidence */
.hero-panel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(92vh, 920px);
  padding: clamp(32px, 5vh, 64px) clamp(24px, 4vw, 48px);
  background: radial-gradient(ellipse 80% 70% at 60% 40%, rgba(232, 90, 40, 0.12) 0%, transparent 55%),
    linear-gradient(160deg, #1a2228 0%, #0f1419 100%);
  overflow: hidden;
}

.hero-evidence-phone {
  margin: 0;
  max-width: min(300px, 42vw);
  z-index: 2;
}

.hero-evidence-phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.45));
}

/* @deprecated — legacy float phone (removed from homepage) */
.hero-visual-photo,
.hero-visual-scrim,
.hero-phone-float {
  display: none !important;
}

.float-phone {
  background: #1a1f26;
  border-radius: 24px;
  padding: 8px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.float-phone-notch {
  width: 64px;
  height: 18px;
  background: #0f1419;
  border-radius: 0 0 10px 10px;
  margin: -8px auto 8px;
}

.float-phone-ui {
  background: #0f1419;
  border-radius: 20px;
  padding: 16px;
  color: #f4f2ee;
  position: relative;
  overflow: hidden;
}

.float-phone-ui::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(94, 184, 176, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(13, 92, 99, 0.3), transparent 50%);
}

.float-ui-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.float-ui-head-copy {
  flex: 1;
  min-width: 0;
}

.float-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b8400d, #e85a28);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-ui-head strong {
  display: block;
  font-size: 14px;
  font-family: var(--font-display);
  line-height: 1.25;
}

.float-ui-sub {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-ui-hero {
  height: 96px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3a2a1f 0%, #5c3a22 100%);
  margin-bottom: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.float-hero-content {
  position: absolute;
  inset: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  color: #f4f2ee;
}

.float-hero-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.float-hero-content strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  margin: 2px 0 4px;
}

.float-hero-meta {
  font-size: 10px;
  opacity: 0.85;
}

.float-ui-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.75);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.float-ui-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e85a28;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 8px #e85a28;
}

.float-ui-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.float-ui-stats > div {
  text-align: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.float-ui-stats strong {
  display: block;
  font-size: 18px;
}

.float-ui-stats span {
  font-size: 10px;
  color: rgba(244, 242, 238, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.float-ui-cta {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: #e85a28;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(232, 90, 40, 0.3);
  font-size: 12px;
}

/* Header — always readable (dark logo on light bar) */
body.wipper-v5 .site-header {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: none;
}

body.wipper-v5 .site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

body.wipper-v5 .main-nav a {
  color: var(--ink-secondary);
  font-weight: 500;
}

body.wipper-v5 .main-nav a:hover {
  color: var(--ink);
}

body.wipper-v5 .mobile-menu-btn span {
  background: var(--ink);
}

body.wipper-v5 .nav-cta {
  color: #fff !important;
}

@media (max-width: 1024px) {
  .hero-editorial .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel-visual {
    min-height: 52vh;
    order: -1;
  }

  .hero-panel-copy {
    padding-top: 32px;
    background: #0f1419;
  }

  .hero-phone-float {
    width: min(240px, 55vw);
    right: 20px;
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .hero-editorial {
    min-height: auto;
  }

  .hero-panel-visual {
    min-height: 48vh;
  }
}

/* Hero → page: soft edge into warm surface (no second dark band) */
.hero-editorial::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, var(--surface-warm) 100%);
  pointer-events: none;
  z-index: 4;
}

/* Brand on mobile — compact light callout */
.brand-mobile-callout {
  position: relative;
  padding: 40px 0 48px;
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border-light);
}

.brand-mobile-callout .section-inner {
  max-width: 640px;
  text-align: center;
}

.brand-mobile-callout .section-eyebrow {
  margin-bottom: 10px;
}

.brand-mobile-callout h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

.brand-mobile-callout .callout-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}
