/* ═══════════════════════════════════════════════════════════════════════════
   IPPLE — Main Landing Page
   Layout: Raya-exact (white bg, top-nav, center logo+button, footer)
═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --white:      #FFFFFF;
  --off-white:  #FAFAFA;
  --black:      #0A0A0A;
  --gray-nav:   #888888;
  --gray-light: #E8E8E8;
  --gray-foot:  #999999;
  --gold:       #B8935A;

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ─── Top navigation ─────────────────────────────────────────────────────── */
.top-nav {
  width: 100%;
  padding: 22px 40px;
  display: flex;
  justify-content: center;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--gray-nav);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--black); }

/* ─── Nav divider ────────────────────────────────────────────────────────── */
.nav-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-light);
}

/* ─── Center stage ───────────────────────────────────────────────────────── */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
  gap: 0;
}

/* Logo mark */
.logo-mark {
  width: 88px;
  margin-bottom: 26px;
  animation: fadeDown 0.8s var(--ease) 0.1s both;
}
.logo-mark svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(184,147,90,0.18));
}

/* Wordmark */
.wordmark {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--black);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1;
  animation: fadeDown 0.8s var(--ease) 0.25s both;
}

/* Apply button */
.btn-apply {
  display: inline-block;
  text-decoration: none;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 15px 36px;
  border-radius: 100px;
  transition:
    background 0.25s,
    transform  0.2s var(--ease),
    box-shadow 0.25s;
  animation: fadeDown 0.8s var(--ease) 0.4s both;
  white-space: nowrap;
}
.btn-apply:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}
.btn-apply:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px max(env(safe-area-inset-bottom), 18px);
  border-top: 1px solid var(--gray-light);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray-foot);
  font-weight: 400;
}

.footer-link {
  font-size: 12px;
  color: var(--gray-foot);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--black); }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0);     }
}

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .top-nav { padding: 18px 24px; }
  .top-nav-inner { gap: 20px; }
  .nav-link { font-size: 11.5px; }

  .wordmark { font-size: 40px; letter-spacing: 0.18em; }
  .logo-mark { width: 72px; margin-bottom: 22px; }

  .site-footer {
    padding: 16px 20px max(env(safe-area-inset-bottom), 16px);
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .footer-copy { width: 100%; text-align: center; }
}

@media (max-width: 340px) {
  .top-nav-inner { gap: 14px; }
  .nav-link { font-size: 10px; }
}
