/* Hero section */

/* Keyframe animations */
@keyframes heroReveal {
  from { transform: scale(1.04); filter: brightness(0.85) saturate(0.9); }
  to   { transform: scale(1);    filter: brightness(1) saturate(1); }
}
@keyframes heroUp {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes hexDriftA {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(8px, -6px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes hexDriftB {
  0%   { transform: translate(0, 0) rotate(10deg); }
  50%  { transform: translate(-6px, 10px) rotate(16deg); }
  100% { transform: translate(0, 0) rotate(10deg); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0   rgba(57, 94, 229, 0.65); }
  70%  { box-shadow: 0 0 0 10px rgba(57, 94, 229, 0); }
  100% { box-shadow: 0 0 0 0   rgba(57, 94, 229, 0); }
}

.hero {
  position: relative;
  padding: clamp(32px, 3vw, 72px) 0 clamp(56px, 5.56vw, 120px);
  overflow: hidden;
  background: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Hex decorations */
.hero .hex-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero .hex-deco.drift-a { animation: hexDriftA 18s ease-in-out infinite; }
.hero .hex-deco.drift-b { animation: hexDriftB 22s ease-in-out infinite; }

/* Live chip */
.chip-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--fg);
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--ink-2);
  margin-bottom: 18px;
}

.chip-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #395EE5;
  box-shadow: 0 0 0 3px rgba(57, 94, 229, 0.30);
  animation: pulseRing 2.2s ease-out infinite;
  flex-shrink: 0;
}

/* Headline */
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 4.5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-top: 0;
  margin-bottom: 0;
  color: var(--fg);
}

.hero h1 em {
  font-style: normal;
  color: var(--aqua);
}

/* Lede */
.hero-lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 52ch;
  margin: 20px 0 22px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-lede b {
  font-weight: 700;
  color: var(--fg);
}

/* CTA row */
.hero-cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hint line */
.hero-hint-line {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-hint-line b {
  color: var(--fg);
  font-weight: 700;
  font-family: var(--font-head);
}

.hero-hint-line .mail {
  color: var(--aqua);
  font-weight: 600;
}

/* Hero art */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 30px 80px -30px rgba(6, 9, 32, 0.6);
}

.hero-art img.key {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroReveal 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-art .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 32, 0) 40%, rgba(6, 9, 32, 0.65) 100%);
}

.hero-art .logo-ovr {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  animation: heroUp 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-art .logo-ovr img:not(.platform-icon) {
  max-height: 60px;
  max-width: 45%;
  width: auto;
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.65));
  flex: 0 0 auto;
}

.hero-art-badge {
  background: rgba(6, 9, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.hero-art-badge .badge-label {
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* Shared button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.royal {
  background: var(--aqua);
  color: var(--ink);
  border-color: var(--aqua);
}
.btn.royal:hover { background: #1fd9ac; border-color: #1fd9ac; }

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn.ghost:hover { background: var(--line); border-color: var(--line-2); }

.btn.sm { padding: 8px 16px; font-size: 12px; }
.btn.lg { padding: 15px 28px; font-size: 15px; }

.btn.blue {
  background: #395EE5;
  border-color: #395EE5;
  color: #fff;
}
.btn.blue:hover { background: var(--royal-dark, #2543c4); border-color: var(--royal-dark, #2543c4); }

/* Responsive hero */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-art {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 28px 0 56px;
  }
  .hero-grid {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-lede {
    font-size: 15px;
  }
  /* Touch target minimums — index page (booking page sets these separately in booking-flow.css) */
  .btn { min-height: 44px; }
}

/* Disable hex drift animations on touch devices (battery + performance) */
@media (hover: none) and (pointer: coarse) {
  .hero .hex-deco { animation: none; }
}
