*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: #fff; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', sans-serif; color: #000; }
button, input { font-family: inherit; }
button { cursor: pointer; }
a { color: #000; text-decoration: none; }
a:hover { color: rgba(0,0,0,.6); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px;
}
.nav > * { pointer-events: auto; }
.nav-left { display: flex; align-items: center; gap: 8px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { display: block; }
.brand { display: none; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }

.menu { position: relative; }
.menu-btn {
  display: flex; align-items: center; gap: 8px;
  background: #000; color: #fff; border: none; border-radius: 999px;
  padding: 4px 14px 4px 4px;
  font-size: 11px; font-weight: 500;
  transition: opacity .2s;
}
.menu-btn:hover { opacity: .85; }
.menu-circle, .grid-btn {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.menu-circle { background: #fff; }
.menu-circle svg { transition: transform .4s cubic-bezier(.16,1,.3,1); }
.menu-btn[aria-expanded="true"] .menu-circle svg { transform: rotate(45deg); }

.menu-panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px;
  background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 18px;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  animation: fadeDown .35s cubic-bezier(.16,1,.3,1) both;
}
.menu-label { margin: 4px 8px 8px; font-size: 11px; color: rgba(0,0,0,.55); }
.menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 8px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
}
.menu-item + .menu-item { border-top: 1px solid rgba(0,0,0,.06); }
.menu-item em, .footer-tags em {
  font-style: normal; font-size: 10px; font-weight: 500;
  color: rgba(0,0,0,.55);
}

.nav-tags {
  display: none; align-items: center; gap: 16px;
  background: #F4F4F6; border-radius: 999px; height: 40px; padding: 0 18px;
  font-size: 11px; font-weight: 500; color: rgba(0,0,0,.7);
}

.nav-right {
  display: flex; align-items: center; gap: 10px;
  background: #F4F4F6; border-radius: 999px; padding: 4px;
}
.nav-right:hover { color: #000; }
.grid-btn { background: #000; }
.nav-right-label { display: none; font-size: 11px; font-weight: 500; padding-right: 14px; }

/* Video */
.video-layer {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-wrap { width: 80%; height: 80%; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer */
.footer {
  position: relative; z-index: 30; margin-top: auto;
  background: linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: space-between; gap: 24px;
  padding: 120px 16px 24px;
}
.footer-left { display: flex; flex-direction: column; gap: 20px; }
.subtitle { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(0,0,0,.55); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #000; flex-shrink: 0; }
.heading {
  margin: 0; font-weight: 300;
  font-size: clamp(2rem, 8vw, 4.5rem);
  letter-spacing: -0.03em; line-height: 1;
}
.buttons { margin-top: 8px; min-height: 44px; display: flex; align-items: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  border-radius: 999px; padding: 12px 22px;
  font-size: 13px; font-weight: 500;
  transition: opacity .2s, background .2s;
}
.btn-primary { background: #000; color: #fff; border: 1px solid #000; }
.btn-primary:hover { opacity: .85; }
.btn-outline { background: transparent; color: #000; border: 1px solid rgba(0,0,0,.35); }
.btn-outline:hover { background: rgba(0,0,0,.05); }

.notify-form {
  display: flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid rgba(0,0,0,.35); border-radius: 999px;
  padding: 3px 3px 3px 18px;
  width: min(360px, 100%);
  animation: fadeUp .5s cubic-bezier(.16,1,.3,1) both;
}
.notify-form input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 13px; color: #000; padding: 9px 0;
}
.notify-form input::placeholder { color: rgba(0,0,0,.45); }
.notify-form .btn { padding: 10px 20px; }
.notify-done { margin: 0; font-size: 13px; animation: fadeUp .5s cubic-bezier(.16,1,.3,1) both; }

.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 999px;
  padding: 7px 14px; font-size: 11px; font-weight: 500;
  transition: border-color .3s, background .3s, color .3s;
}
.footer-tags.highlight span { background: #000; color: #fff; border-color: #000; }
.footer-tags.highlight em { color: rgba(255,255,255,.7); }

/* Entrance animations — ease [0.16, 1, 0.3, 1] */
.anim { animation-timing-function: cubic-bezier(.16,1,.3,1); animation-fill-mode: both; }
.anim-nav    { animation-name: navIn;   animation-duration: .8s; }
.anim-video  { animation-name: videoIn; animation-duration: 1.8s; }
.anim-footer { animation-name: up20;    animation-duration: 1s;  animation-delay: .5s; }
.anim-sub    { animation-name: up16;    animation-duration: .8s; animation-delay: .6s; }
.anim-head   { animation-name: up20;    animation-duration: .8s; animation-delay: .8s; }
.anim-btns   { animation-name: up16;    animation-duration: .8s; animation-delay: 1s; }

@keyframes navIn   { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes videoIn { from { opacity: 0; transform: scale(1.05); }       to { opacity: 1; transform: none; } }
@keyframes up20    { from { opacity: 0; transform: translateY(20px); }  to { opacity: 1; transform: none; } }
@keyframes up16    { from { opacity: 0; transform: translateY(16px); }  to { opacity: 1; transform: none; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(8px); }   to { opacity: 1; transform: none; } }
@keyframes fadeDown{ from { opacity: 0; transform: translateY(-8px); }  to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .anim, .menu-panel, .notify-form, .notify-done { animation: none; }
}

@media (min-width: 768px) {
  .nav { padding: 24px 32px; }
  .nav-left { gap: 12px; }
  .brand { display: inline; }
  .nav-tags { display: flex; }
  .nav-right-label { display: inline; }
  .menu-circle, .grid-btn { width: 32px; height: 32px; }
  .video-wrap { width: 100%; height: 100%; }
  .footer { flex-direction: row; align-items: flex-end; padding: 160px 32px 32px; }
  .heading { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
}
