/* ===================================================
   CHLOE — Move With Intention
   Wireframe based on Fossil Template structure
   =================================================== */

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

:root {
  --gold: #D4A862;
  --cream: #F5EDE4;
  --cream-light: #FAF6F1;
  --espresso: #3C2A1E;
  --warm-beige: #C8B8A2;
  --wood: #E8D5B8;
  --ink: #1A1A1A;
  --ink-dark: #111111;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink);
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}


/* ===================================================
   HERO — Full viewport, single image + centered nav
   =================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* Background video — full bleed, covers entire hero */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark overlay — keeps text legible over video */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(26, 26, 26, 0.35) 0%,
      rgba(26, 26, 26, 0.15) 40%,
      rgba(26, 26, 26, 0.20) 70%,
      rgba(26, 26, 26, 0.55) 100%
    );
}

/* Film grain overlay for premium texture */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

.hero__top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 15%,
    rgba(212, 168, 98, 0.25) 35%,
    rgba(212, 168, 98, 0.4) 50%,
    rgba(212, 168, 98, 0.25) 65%,
    transparent 85%
  );
  z-index: 5;
}


/* ===================================================
   CENTERED LOGO + VERTICAL NAV
   =================================================== */

.hero__center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex: 1;
  width: 100%;
  padding-top: 5vh;
  padding-bottom: 32px;
}

.hero__center-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4vh;
  position: relative;
  /* Compensate letter-spacing on last char so text is optically centered */
  padding-left: 0.3em;
}

.hero__logo-tm {
  font-size: 0.35em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 2px;
}

.hero__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  list-style: none;
}

.hero__nav-item {
  padding: 8px 0;
}

.hero__nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-left: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-block;
}

.hero__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__nav-link:hover {
  color: var(--white);
}

.hero__nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Staggered entrance animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  animation: fadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__nav-item:nth-child(1) { animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.hero__nav-item:nth-child(2) { animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }
.hero__nav-item:nth-child(3) { animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
.hero__nav-item:nth-child(4) { animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }
.hero__nav-item:nth-child(5) { animation: fadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both; }

.player { animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both; }
.clock { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both; }


/* ===================================================
   SPOTIFY EMBED PLAYER (Bottom Left)
   Real Spotify compact player — plays 30s preview
   without login, shows real album art + controls
   =================================================== */

.player {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 20;
  width: 300px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.player iframe {
  width: 100%;
  height: 100px;
  border: none;
  display: block;
  margin-top: -4px;
}


/* ===================================================
   LIVE CLOCK (Bottom Center)
   =================================================== */

.clock {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  padding-left: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  white-space: nowrap;
}

.clock__time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}


/* ===================================================
   FOOTER
   =================================================== */

.footer {
  background: var(--ink-dark);
  padding: 56px 48px 40px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.footer__newsletter {
  max-width: 320px;
}

.footer__newsletter-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  outline: none;
  min-width: 0;
  transition: border-color 0.3s ease;
}

.footer__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer__input:focus {
  border-color: var(--gold);
}

.footer__submit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer__submit:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer__nav-columns {
  display: flex;
  gap: 80px;
}

.footer__col {}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.footer__link:hover {
  color: var(--gold);
}

.footer__logo-giant {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--white);
  line-height: 0.78;
  margin: 0;
  margin-bottom: -0.03em;
  margin-left: -0.02em;
}

.footer__logo-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  padding-bottom: 8px;
  flex-shrink: 0;
}

.footer__credit {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.footer__year {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.15);
}


/* ===================================================
   CUSTOM CIRCLE CURSOR
   =================================================== */

@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background 0.3s ease,
              opacity 0.3s ease;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor.is-hovering {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
  background: rgba(212, 168, 98, 0.08);
}

.cursor.is-hovering ~ .cursor-dot {
  opacity: 0;
}

@media (pointer: coarse) {
  .cursor, .cursor-dot {
    display: none;
  }
}


/* ===================================================
   RESPONSIVE — Tablet: 810px, Mobile: 480px, Small: 360px
   =================================================== */

/* --- TABLET (810px and below) --- */
@media (max-width: 810px) {

  .hero {
    padding: 16px;
  }

  .hero__center {
    width: 80%;
    padding-top: 3vh;
    padding-bottom: 16px;
  }

  .hero__logo {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    letter-spacing: 0.25em;
    margin-bottom: 3vh;
  }

  .hero__nav-item {
    padding: 6px 0;
  }

  .hero__nav-link {
    font-size: 0.8125rem;
  }

  .player {
    bottom: 8px;
    left: 8px;
    width: 280px;
    height: 80px;
    border-radius: 10px;
  }

  .clock {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }

  .footer {
    padding: 40px 24px 28px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 56px;
  }

  .footer__newsletter {
    max-width: 100%;
  }

  .footer__nav-columns {
    width: 100%;
    justify-content: space-between;
    gap: 40px;
  }

  .footer__logo-giant {
    font-size: clamp(5rem, 16vw, 10rem);
  }

  .footer__logo-row {
    gap: 0;
  }
}

/* --- MOBILE (480px and below) --- */
@media (max-width: 480px) {

  .hero__center {
    width: 85%;
    padding-top: 2vh;
    padding-bottom: 12px;
  }

  .hero__logo {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    letter-spacing: 0.2em;
    margin-bottom: 2.5vh;
  }

  .hero__nav-item {
    padding: 5px 0;
  }

  .hero__nav-link {
    font-size: 0.75rem;
  }

  .player {
    bottom: 8px;
    left: 8px;
    right: 8px;
    width: auto;
    height: 80px;
    border-radius: 8px;
  }

  .clock {
    display: none;
  }

  .footer {
    padding: 32px 16px 20px;
  }

  .footer__top {
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer__newsletter-title {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
  }

  .footer__nav-columns {
    flex-direction: column;
    gap: 28px;
  }

  .footer__col-title {
    margin-bottom: 14px;
  }

  .footer__links {
    gap: 10px;
  }

  .footer__link {
    font-size: 0.75rem;
  }

  .footer__logo-giant {
    font-size: clamp(3.5rem, 20vw, 7rem);
    line-height: 0.82;
  }

  .footer__logo-row {
    flex-direction: column;
    gap: 12px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: row;
    gap: 16px;
    padding-bottom: 0;
  }
}

/* --- SMALL MOBILE (360px and below) --- */
@media (max-width: 360px) {

  .hero__logo {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
  }

  .hero__nav-link {
    font-size: 0.6875rem;
  }

  .footer {
    padding: 28px 12px 16px;
  }

  .footer__logo-giant {
    font-size: clamp(3rem, 22vw, 5rem);
  }

  .player {
    height: 80px;
  }
}
