/* ─────────────────────────────────────────────────────────────
 * laurenvanboom.com, site-wide styles.
 * Loads on top of ../colors_and_type.css.
 * Every page should set <body class="lcs"> for the typography
 * base, and the Cursor / Nav / Footer / Easter are mounted once.
 * ───────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}
body.light { background: var(--linen); color: var(--bark); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }

/* ── PAGE-WIDE GRAIN ───────────────────────────────────── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  opacity: .55;
}

/* ── SVG DEFS (turbulence filter for dreamer hover) ────── */
.lvb-defs { position: fixed; width: 0; height: 0; pointer-events: none; }

/* ── CURSOR ────────────────────────────────────────────── */
.lvb-cursor-dot, .lvb-cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
}
.lvb-cursor-dot {
  width: 10px; height: 10px;
  background: var(--terracotta);
  border-radius: 50%;
  transition: width .3s, height .3s, background .3s;
}
.lvb-cursor-dot.hover { width: 36px; height: 36px; background: var(--terracotta-22); }
.lvb-cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--terracotta-45);
  border-radius: 50%;
  transition: transform .35s var(--ease-out-soft), width .3s, height .3s;
  z-index: 9998;
}
.lvb-cursor-ring.hover { width: 58px; height: 58px; border-color: var(--terracotta); }
@media (pointer: coarse) {
  body { cursor: auto; }
  .lvb-cursor-dot, .lvb-cursor-ring { display: none; }
}

/* ── NAV ───────────────────────────────────────────────── */
.lvb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.lvb-nav.scrolled {
  background: rgba(46,34,25,.85); backdrop-filter: blur(12px);
  border-bottom-color: rgba(217,201,178,.06);
}
body.light .lvb-nav.scrolled {
  background: rgba(250,246,239,.88);
  border-bottom-color: rgba(46,34,25,.06);
}
.lvb-nav-logo {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 18px; color: inherit; letter-spacing: .04em;
  text-decoration: none;
}
.lvb-nav-center {
  display: flex; gap: 36px; list-style: none; margin: 0; padding: 0;
}
.lvb-nav-center a {
  font-family: var(--font-ui); font-weight: 500; font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none;
  position: relative; transition: color .2s;
}
body.light .lvb-nav-center a { color: var(--clay); }
.lvb-nav-center a:hover, .lvb-nav-center a.current { color: var(--terracotta); }
.lvb-nav-center a.current::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--terracotta);
}
.lvb-nav-right { display: flex; align-items: center; gap: 18px; }
.lvb-nav-year {
  font-family: var(--font-ui); font-size: 9px;
  letter-spacing: .14em; color: var(--fg-2); opacity: .5;
}
body.light .lvb-nav-year { color: var(--clay); }

/* Hamburger that opens the side menu */
.lvb-menu-trigger {
  width: 28px; height: 22px; background: transparent;
  border: 0; padding: 0; cursor: none;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.lvb-menu-trigger span {
  display: block; height: 1px; background: var(--fg-2);
  transition: transform .3s var(--ease-out-soft), opacity .3s, background .2s;
  transform-origin: center;
}
body.light .lvb-menu-trigger span { background: var(--clay); }
.lvb-menu-trigger:hover span { background: var(--terracotta); }
.lvb-menu-trigger span:nth-child(1) { width: 100%; }
.lvb-menu-trigger span:nth-child(2) { width: 70%; align-self: flex-end; }
.lvb-menu-trigger span:nth-child(3) { width: 100%; }
.lvb-menu-trigger.open span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); width: 100%; }
.lvb-menu-trigger.open span:nth-child(2) { opacity: 0; }
.lvb-menu-trigger.open span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); width: 100%; }

/* ── SIDE MENU (slide-out drawer for secondary pages) ── */
.lvb-side-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(46,34,25,.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.lvb-side-overlay.open { opacity: 1; pointer-events: all; }
.lvb-side {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 310;
  width: min(420px, 100vw);
  background: var(--bark); color: var(--cream);
  transform: translateX(100%);
  transition: transform .5s var(--ease-out-soft);
  padding: 88px 44px 48px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.lvb-side.open { transform: translateX(0); }
.lvb-side-eyebrow {
  font-family: var(--font-ui); font-size: 9px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 24px;
}
.lvb-side-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.lvb-side-list a {
  font-family: var(--font-display); font-weight: 300;
  font-size: 38px; line-height: 1.15;
  color: var(--cream); text-decoration: none;
  display: flex; align-items: baseline; gap: 14px;
  padding: 8px 0; transition: color .3s, padding-left .35s var(--ease-out-soft);
}
.lvb-side-list a:hover { color: var(--terracotta); padding-left: 14px; }
.lvb-side-list a:hover em { color: var(--terracotta); }
.lvb-side-list a .lvb-side-arrow {
  font-size: 18px; opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s, color .3s;
  color: var(--terracotta);
}
.lvb-side-list a:hover .lvb-side-arrow { opacity: 1; transform: none; }
.lvb-side-meta {
  margin-top: auto; padding-top: 36px;
  border-top: 1px solid var(--sand-08);
  display: flex; flex-direction: column; gap: 8px;
}
.lvb-side-meta a {
  font-family: var(--font-ui); font-size: 9px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand); text-decoration: none;
}
.lvb-side-meta a:hover { color: var(--terracotta); }
.lvb-side-meta .email {
  font-family: var(--font-display); font-style: italic;
  font-size: 16px; color: var(--terracotta);
  letter-spacing: 0; text-transform: none;
  margin-top: 8px;
}

/* ── SHARED SECTION SCAFFOLD ───────────────────────────── */
.lvb-section { padding: 100px 48px; }
.lvb-eyebrow {
  font-family: var(--font-ui); font-weight: 500; font-size: 9px;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--terracotta); margin: 0 0 14px;
  display: block;
}
.lvb-h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(44px, 6vw, 88px); line-height: 1.02;
  letter-spacing: -.01em; margin: 0;
}
.lvb-h1 em { font-style: italic; color: var(--terracotta); }
.lvb-h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05;
  letter-spacing: -.01em; margin: 0 0 32px;
}
.lvb-h2 em { font-style: italic; color: var(--terracotta); }
.lvb-h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15;
  margin: 0 0 16px;
}
.lvb-h3 em { font-style: italic; color: var(--terracotta); }
.lvb-body {
  font-family: var(--font-body); font-weight: 400;
  font-size: 16px; line-height: 1.7; color: var(--fg-2);
}
body.light .lvb-body { color: var(--clay); }
.lvb-body p { margin: 0 0 1.1em; }

/* ── BUTTONS ───────────────────────────────────────────── */
.lvb-btn {
  font-family: var(--font-ui); font-weight: 500; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 50px; border: 0; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.lvb-btn-primary  { background: var(--terracotta); color: var(--linen); }
.lvb-btn-primary:hover  { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); }
.lvb-btn-ghost    { background: transparent; color: var(--terracotta); border: 1px solid var(--terracotta-45); }
.lvb-btn-ghost:hover    { background: var(--terracotta); color: var(--linen); }
.lvb-btn-bark     { background: var(--bark); color: var(--cream); }
.lvb-btn-bark:hover     { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.lvb-btn-secondary { background: transparent; color: inherit; border: 1px solid var(--border-mid); }
.lvb-btn-secondary:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ── REVEAL (fade-up on mount) ────────────────────────────
 * Initial state set by JS via class .lvb-reveal-init; pages
 * without JS show content as-is. */
.lvb-reveal-init {
  opacity: 0; transform: translateY(28px);
  transition: opacity .85s var(--ease-out-soft), transform .85s var(--ease-out-soft);
}
.lvb-reveal-init.visible { opacity: 1; transform: none; }

/* ── DREAMER HOVER, italic word drifts ─────────────────── */
em.lvb-drift {
  display: inline-block;
  transition: transform .6s var(--ease-out-soft), letter-spacing .6s var(--ease-out-soft);
}
em.lvb-drift:hover {
  transform: rotate(-1.5deg) translateY(-3px);
  letter-spacing: .015em;
}

/* ── FLOATING STICKERS ─────────────────────────────────
 * Hand-illustrated round stickers scattered through the
 * homepage. Each sticker is absolutely positioned within
 * its parent section, gently rotated, and scales up on
 * hover. Parent sections must be position:relative and
 * overflow:visible.
 * ───────────────────────────────────────────────────── */
.lvb-sticker {
  position: absolute; z-index: 5;
  pointer-events: auto;
  cursor: none;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.32));
  transition: transform .55s var(--ease-bounce, cubic-bezier(.34, 1.56, .64, 1)),
              filter .35s var(--ease-out-soft);
  user-select: none;
}
.lvb-sticker:hover {
  transform: rotate(0deg) scale(1.08) !important;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.42));
  z-index: 6;
}
.lvb-sticker img { width: 100%; height: 100%; display: block; }

/* Stickers add too much noise on mobile; hide. */
@media (max-width: 900px) {
  .lvb-sticker { display: none; }
}

/* ── DREAMER HOVER, project-card wave (deprecated, kept as no-op) ─
 * The feDisplacementMap filter pixelated on most GPUs. The card-level
 * type-slide + arrow-draw treatment replaces it. */
.lvb-melt {
  transition: filter .6s var(--ease-out-soft), transform .6s var(--ease-out-soft);
}

/* ── EASTER EGG corner star ───────────────────────────── */
.lvb-star {
  position: fixed; bottom: 14px; right: 16px; z-index: 90;
  font-family: var(--font-display); font-style: italic;
  font-size: 14px; color: var(--terracotta);
  opacity: .35; cursor: none;
  background: transparent; border: 0; padding: 6px;
  transition: opacity .3s, transform .3s, color .3s;
}
.lvb-star:hover { opacity: 1; transform: rotate(72deg); }
.lvb-star.glowing {
  opacity: 1; color: var(--cream);
  text-shadow: 0 0 14px var(--terracotta), 0 0 26px var(--terracotta);
  animation: lvb-star-pulse 1.2s ease-in-out infinite;
}
@keyframes lvb-star-pulse { 0%, 100% { transform: scale(1) rotate(0deg) } 50% { transform: scale(1.18) rotate(20deg) } }
.lvb-easter-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(46,34,25,.92); backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none;
  transition: opacity .6s;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
}
.lvb-easter-overlay.open { opacity: 1; pointer-events: all; }
.lvb-easter-card {
  max-width: 580px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.lvb-easter-card .vinyl {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1a110a 0%, #0a0604 100%);
  position: relative;
  animation: lvb-easter-spin 4s linear infinite;
  box-shadow: 0 12px 38px rgba(0,0,0,.5);
}
.lvb-easter-card .vinyl::before {
  content: ''; position: absolute; inset: 6%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(243,238,227,.04) 0 1px, transparent 1px 4px);
}
.lvb-easter-card .vinyl::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 28%; height: 28%; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4856a, var(--terracotta) 60%, var(--sienna) 100%);
}
@keyframes lvb-easter-spin { from { transform: rotate(0) } to { transform: rotate(360deg) } }
.lvb-easter-card h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.05;
  color: var(--cream); margin: 0;
}
.lvb-easter-card h2 em { font-style: italic; color: var(--terracotta); }
.lvb-easter-card p {
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--sand); max-width: 460px; margin: 0;
}
.lvb-easter-close {
  font-family: var(--font-ui); font-size: 9px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta); background: transparent;
  border: 1px solid var(--terracotta-45); border-radius: 50px;
  padding: 10px 22px; cursor: none;
  transition: background .2s, color .2s;
}
.lvb-easter-close:hover { background: var(--terracotta); color: var(--linen); }

/* ── FOOTER ────────────────────────────────────────────── */
.lvb-footer {
  background: rgba(0,0,0,.32);
  padding: 100px 48px 40px;
  border-top: 1px solid var(--sand-08);
}
body.light .lvb-footer { background: var(--bark); color: var(--cream); border-top: 0; }
.lvb-footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; margin-bottom: 80px;
}
.lvb-footer-cta {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px); line-height: 1.02;
  letter-spacing: -.01em; color: var(--cream); margin: 0;
}
.lvb-footer-cta em { font-style: italic; color: var(--terracotta); }
.lvb-footer-links { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.lvb-footer-link {
  font-family: var(--font-ui); font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--sand); text-decoration: none; transition: color .2s;
}
.lvb-footer-link:hover { color: var(--terracotta); }
.lvb-footer-email {
  font-family: var(--font-display); font-style: italic;
  font-size: 17px; color: var(--terracotta);
  margin-top: 12px; text-decoration: none;
}
.lvb-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--sand-08);
  font-family: var(--font-ui); font-size: 8px;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(217,201,178,.35);
}

/* ── MARQUEE ───────────────────────────────────────────── */
.lvb-marquee {
  overflow: hidden; background: var(--terracotta);
  padding: 16px 0; border-top: 1px solid var(--cream-08);
}
.lvb-marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: lvb-marquee-scroll 22s linear infinite;
}
.lvb-marquee-item {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 20px; color: var(--bark); padding: 0 32px;
  opacity: .9; flex-shrink: 0;
  display: flex; align-items: center; gap: 20px;
}
.lvb-marquee-item::after { content: '\2726'; font-style: normal; font-size: 10px; opacity: .5; }
@keyframes lvb-marquee-scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .lvb-nav { padding: 18px 24px; }
  .lvb-nav-center { display: none; }
  .lvb-section { padding: 64px 24px; }
  .lvb-footer { padding: 72px 24px 32px; }
  .lvb-footer-top { grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px; }
  .lvb-footer-links { align-items: flex-start; }
}
