/* ── FONT ──────────────────────────────────────────────── */
@font-face {
  font-family: 'TeX Gyre Adventor';
  src: url('assets/texgyreadventor-bold-webfont.eot');
  src: url('assets/texgyreadventor-bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('assets/texgyreadventor-bold-webfont.woff') format('woff'),
       url('assets/texgyreadventor-bold-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #F1F1F1;
  font-family: 'TeX Gyre Adventor', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.005em;
}

/* ── MOGULS LOGO ─────────────────────────────────────────── */
.moguls-logo {
  position: fixed;
  left: 40px;
  right: 40px;
  bottom: 40px;
  width: calc(100% - 80px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 767px) {
  .moguls-logo {
    left: 32px;
    right: 32px;
    bottom: 32px;
    width: calc(100% - 64px);
  }
}

/* ── INSTAGRAM LINK ──────────────────────────────────────── */
.ig-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 51px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-link img {
  width: auto;
  height: 100%;
  display: block;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ig-link:hover img {
  opacity: 1;
  transform: scale(0.9);
}

/* ── SUBSCRIBE AREA (upper 66vh) ─────────────────────────── */
.subscribe-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 66vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* ── MAILCHIMP WIDGET ────────────────────────────────────── */
.mc-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mc-label {
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #000;
  text-align: center;
  max-width: 50vw;
}

@media (max-width: 767px) {
  .mc-label {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.1;
  }
}

.mc-fine-print {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.5;
  color: #aaa;
  text-align: center;
  max-width: 340px;
}

.mc-form {
  display: flex;
}

.mc-form input[type="email"] {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  width: 260px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid #111;
  border-right: none;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #111;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.mc-form input[type="email"]::placeholder {
  color: #aaa;
}

.mc-form button[type="submit"] {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  height: 42px;
  padding: 0 20px;
  background: #111;
  color: #fafafa;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1.5px solid #111;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mc-form button[type="submit"]:hover {
  background: #F1F1F1;
  color: #111;
}

@media (max-width: 767px) {
  .subscribe-area {
    padding: 0 32px;
  }

  .mc-widget {
    width: 100%;
  }

  .mc-form {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .mc-form input[type="email"] {
    width: 100%;
    border-right: 1.5px solid #111;
  }

  .mc-form button[type="submit"] {
    width: 100%;
    border-top: 1.5px solid #111;
  }
}

/* ── INFO TRIGGER ────────────────────────────────────────── */
.info-trigger {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  user-select: none;
  height: 51px;
  border: none;
  padding: 0;
  background: none;
  transition: opacity 0.2s ease;
}

.info-trigger__diamond-cell {
  width: 48px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  box-shadow: inset 0 0 0 6px #000;
  pointer-events: none;
}

.info-trigger__bar {
  background: #000;
  flex: 1 0 0;
  height: 51px;
  padding: 21px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.icon--diamond {
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-trigger:hover .icon--diamond {
  transform: scale(1.2);
}

/* Hide trigger when panel is open */
.info-trigger.is-open {
  pointer-events: none;
  opacity: 0;
}

/* ── EXPANSION PANEL ─────────────────────────────────────── */
.info-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: 160px;
  height: 51px;
  overflow: hidden;
  background: #000;
  color: #fff;
  pointer-events: none;
  transition: width 1s cubic-bezier(0.76, 0, 0.24, 1),
              height 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.info-panel.is-open {
  pointer-events: all;
}

/* ── INVISIBLE CLICK ZONE over trigger area ──────────────── */
.info-trigger-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 160px;
  height: 51px;
  z-index: 220;
  cursor: pointer;
  /* rgba(0,0,0,0.001) ensures mobile browsers register taps */
  background: rgba(0,0,0,0.001);
  -webkit-tap-highlight-color: transparent;
}

.info-trigger-overlay.is-hidden {
  pointer-events: none;
}

/* ── PANEL TEXT ───────────────────────────────────────────── */
.info-panel__text {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  padding-bottom: 91px; /* 40px gap + 51px bar height */
}

.info-panel__text a {
  color: #fff;
  text-decoration: underline;
}

.info-panel__text--email {
  padding-top: 12px;
}

@media (max-width: 767px) {
  .info-panel__text {
    padding: 32px;
    padding-bottom: 83px;
  }
}

/* ── LINE-BY-LINE TEXT REVEAL ─────────────────────────────── */
.info-panel__text .line-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  /* Close: disappear fast, no stagger */
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.info-panel.is-open .info-panel__text .line-word {
  opacity: 1;
  transform: translateY(0);
  /* Open: smooth stagger — --delay set per-word via JS */
  transition: opacity 0.45s ease var(--delay, 0s),
              transform 0.45s ease var(--delay, 0s);
}

/* ── INFO BAR – absolute bottom-left ─────────────────────── */
.info-panel__info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: stretch;
  height: 51px;
  cursor: pointer;
  /* relative for the close button overlay */
}

/* Icon cell shared style */
.info-panel__icon-cell {
  width: 48px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  box-shadow: inset 0 0 0 6px #000;
  position: relative;
  pointer-events: none;
}

/* Diamond & X icons stacked on top of each other */
.info-panel__icon-cell .icon--panel-diamond,
.info-panel__icon-cell .icon--panel-x {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s ease;
}

/* Default: diamond visible, X hidden */
.info-panel__icon-cell .icon--panel-diamond {
  transform: scale(1);
  opacity: 1;
}
.info-panel__icon-cell .icon--panel-x {
  transform: scale(0);
  opacity: 0;
}

/* Open: diamond hidden, X visible */
.info-panel.is-open .info-panel__icon-cell .icon--panel-diamond {
  transform: scale(0);
  opacity: 0;
}
.info-panel.is-open .info-panel__icon-cell .icon--panel-x {
  transform: scale(1);
  opacity: 1;
}

.info-panel__close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  pointer-events: none;
}

.info-panel.is-open .info-panel__close {
  pointer-events: all;
}

.info-panel__info-label {
  background: #000;
  height: 51px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
