/* ═══════════════════════════════════════════════
   APRIL WAGNER — GLASS ARTIST
   Global Stylesheet
   ═══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --g100: #f5f5f5;
  --g200: #e8e8e8;
  --g400: #999;
  --g600: #555;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── CURSOR ─── */
.cursor {
  width: 12px; height: 12px;
  border: 1px solid var(--white);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.cursor.hovering {
  transform: scale(4);
  background: rgba(255,255,255,0.08);
}

/* ─── PAGE TRANSITION ─── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.page-transition.active {
  transform: scaleY(1);
  transform-origin: top;
}
body.entering .page-transition {
  transform: scaleY(1);
  transform-origin: bottom;
  animation: pageReveal 0.6s var(--ease) forwards;
}
@keyframes pageReveal {
  0% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}
nav .logo img {
  height: 75px;
  filter: invert(1);
  transition: opacity 0.3s;
}
nav .logo img:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 1px;
  background: var(--white);
  transition: width 0.5s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; height: 18px;
  position: relative;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 100%; height: 1px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}
.mobile-menu a:hover { opacity: 0.5; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SHARED: SECTION LABELS ─── */
.section-label,
.intro-label {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g400);
  font-weight: 500;
}

/* ─── SHARED: LINKS ─── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 600;
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 8px;
  transition: gap 0.4s var(--ease);
}
.text-link:hover { gap: 20px; }
.text-link svg { width: 15px; height: 15px; }

/* ─── SHARED: PAGE HERO (internal pages) ─── */
.page-hero {
  height: 50vh;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  filter: brightness(0.35) contrast(1.05);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 1s var(--ease) 0.1s forwards;
}
.page-hero p {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 0.8s var(--ease) 0.4s forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── MARQUEE ─── */
.marquee {
  padding: 64px 0;
  overflow: hidden;
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
}
.marquee-track {
  display: flex;
  animation: mq 28s linear infinite;
  width: max-content;
}
.marquee-item {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 200;
  white-space: nowrap;
  padding: 0 32px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.marquee-item .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--black);
  border-radius: 50%;
  margin: 0 32px;
  vertical-align: middle;
}
@keyframes mq { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── FOOTER ─── */
footer {
  padding: 80px 48px 40px;
  border-top: 1px solid var(--g200);
}
.ft-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}
.ft-cta h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 460px;
  letter-spacing: -0.02em;
}
.ft-nav { display: flex; gap: 56px; }
.ft-nav-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 18px;
  font-weight: 500;
}
.ft-nav-col a {
  display: block;
  font-size: 0.88rem;
  font-weight: 300;
  margin-bottom: 11px;
  transition: color 0.3s;
}
.ft-nav-col a:hover { color: var(--g400); }
.ft-bottom {
  display: flex;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid var(--g200);
  font-size: 1rem;
  color: var(--g400);
  font-weight: 400;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .page-hero { padding: 0 24px 48px; min-height: 300px; }
  .ft-top { flex-direction: column; gap: 40px; }
  .ft-nav { gap: 36px; }
  .ft-bottom { flex-direction: column; gap: 8px; }
}

