/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */
@font-face {
  font-family: 'TAY Milkbar';
  src: url('TAYMilkbarRegular.woff2') format('woff2'),
       url('TAYMilkbarRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TAY Barro';
  src: url('TAYBarro.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─────────────────────────────────────────
   RESET + VARIABLES
───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; }

:root {
  --bg:      #F0EDE8;
  --fg:      #000000;
  --mid:     #7a7570;
  --warm:    #7a7570;
  --border:  #ddd9d3;
  --rose:    #E8B4B8;
  --white:   #FFFFFF;

  --sp-xs:   8px;
  --sp-sm:   16px;
  --sp-md:   32px;
  --sp-lg:   64px;
  --sp-xl:   140px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

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

/* ─────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  width: 7px;
  height: 7px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              background 0.25s ease;
  will-change: left, top;
}
.cursor-dot.hovered {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--fg);
  opacity: 0.45;
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.28s; }
.reveal[data-delay="4"] { transition-delay: 0.38s; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: rgba(240, 237, 232, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.5s ease,
              backdrop-filter 0.5s ease,
              -webkit-backdrop-filter 0.5s ease;
}

nav.scrolled {
  background: rgba(240, 237, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--fg); }

/* ─────────────────────────────────────────
   SECTION BASICS
───────────────────────────────────────── */
section {
  padding: var(--sp-xl) 32px;
}

.label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
}

/* ─────────────────────────────────────────
   PAGE HEADER (used on sub-pages)
───────────────────────────────────────── */
.page-header {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 32px 64px;
}

.page-title {
  font-family: 'TAY Milkbar', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 20px;
}

.page-subtitle {
  font-size: 1rem;
  font-weight: 450;
  color: var(--mid);
  line-height: 1.6;
  max-width: 480px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 640px) {
  body { cursor: auto; }
  .cursor-dot { display: none; }
  nav { padding: 20px 20px; }
  .nav-logo { height: 40px; }
  .page-header { min-height: 40vh; padding: 0 20px 48px; }
  section { padding: 64px 20px; }
  footer { flex-direction: column; gap: 10px; text-align: center; padding: 32px 20px; }
}
