/* =============================================
   BLANK SHIFT — style.css
   All visual styling lives here.
   The HTML file only contains content/structure.
   ============================================= */

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

/* ── Design tokens ── */
:root {
  --bg:     #0d0d0d;
  --text:   #dedad4;
  --muted:  rgba(222, 218, 212, 0.40);
  --dimmer: rgba(222, 218, 212, 0.18);
  --glow:   rgba(222, 218, 212, 0.055);
  --font:   'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── Base ── */
html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  overflow-x: hidden;
}

/* ── Custom cursor ── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: left, top;
  mix-blend-mode: difference;
}

#cursor-glow {
  position: fixed;
  top: -160px; left: -160px;
  width: 320px; height: 320px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  will-change: transform;
}

/* ── Page shell ── */
.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============================================
   HEADER
   Logo + brand name on the left,
   tagline centered/right on the same line.
   ============================================= */

header {
  width: 100%;
  padding: 2.8rem 5vw 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand: logo icon + "Blank Shift" text */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
}

.brand__logo {
  flex-shrink: 0;
  width: 128px;
  height: auto;
  opacity: 0.92;
}

.brand__name {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
}

/* Tagline: right side of header */
.tagline {
  font-size: clamp(0.6875rem, 1.3vw, 0.8125rem);
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =============================================
   TICKER / MARQUEE
   ============================================= */

.ticker-wrap {
  overflow: hidden;
  width: 100%;
  margin: 3.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--dimmer);
  border-bottom: 1px solid var(--dimmer);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dimmer);
  padding: 0 3rem;
  flex-shrink: 0;
}

.ticker-item em {
  font-style: italic;
  opacity: 0.6;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   MAIN CONTENT
   ============================================= */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 5vw 6vh;
  gap: 6rem;
}

/* Products section */
.products {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products__label {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 1.6rem;
}

/* Product link */
.product-link {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

/* Underline animates in on hover */
.product-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--muted);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-link:hover::after {
  width: 35%;
}

.product-link__sep {
  color: var(--dimmer);
  margin: 0 0.55em;
  font-weight: 200;
}

.product-link__sub {
  color: var(--muted);
  font-style: italic;
  font-weight: 200;
}

/* =============================================
   FOOTER
   "Explore tools" + closing line, together.
   ============================================= */

footer {
  text-align: center;
  padding: 0 5vw 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.explore {
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dimmer);
  user-select: none;
}

.closing__text {
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  font-weight: 200;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--dimmer);
}

/* =============================================
   RESPONSIVE — mobile
   ============================================= */

@media (max-width: 600px) {
  body { cursor: auto; }
  #cursor, #cursor-glow { display: none; }

  header {
    padding: 2rem 6vw 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .brand__logo { width: 50px; }

  main { gap: 4rem; }

  .ticker-wrap { margin: 2.5rem 0; }
}
