/* =========================================================
   Be.Creative — site styles
   Palette tokens, typography, layout, responsive, animations
   ========================================================= */

:root {
  --bg: #F2EFE6;
  --fg: #1A1A18;
  --fg-soft: rgba(26, 26, 24, 0.6);
  --fg-subtle: rgba(26, 26, 24, 0.4);
  --line: rgba(26, 26, 24, 0.133);
  --muted: rgba(26, 26, 24, 0.4);
  --accent: #D5FF3A;
  --accent-ink: #1A1A18;

  --font-sans: 'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1400px;
  --gutter: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.accent { color: var(--accent); }
.mono-id,
.mono-kicker {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- custom cursor ---------- */
.custom-cursor {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--fg);
  mix-blend-mode: difference;
  transition: width .25s ease, height .25s ease,
              background-color .25s ease, margin .25s ease;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.cursor-ring.is-hot {
  width: 64px; height: 64px;
  margin-top: -10px; margin-left: -10px;
  background: var(--accent);
  mix-blend-mode: normal;
}
.cursor-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transition: opacity .15s ease;
}
.cursor-ring.is-hot .cursor-label { opacity: 1; }
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  will-change: transform;
}

/* Hide cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  .custom-cursor { display: none !important; }
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sans);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, background .3s ease,
              border-color .3s ease, color .3s ease,
              backdrop-filter .3s ease;
  color: var(--fg);
}
.site-nav.is-scrolled {
  padding: 16px 32px;
  background: rgba(242, 239, 230, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav.is-over-dark:not(.is-scrolled) { color: var(--bg); }

.nav-logo {
  display: flex; align-items: baseline;
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.04em;
  color: inherit;
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: inherit; }

/* Higher specificity than `.nav-links a` so its own color wins */
.nav-links a.nav-cta {
  background: var(--fg); color: var(--bg);
  padding: 12px 18px;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .3s ease, color .3s ease;
}
.site-nav.is-over-dark:not(.is-scrolled) .nav-links a.nav-cta {
  background: var(--bg); color: var(--fg);
}
.nav-cta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.magnetic { display: inline-block; will-change: transform; transition: transform .35s cubic-bezier(.2,.7,.3,1); }

/* ---------- hero: Loud ---------- */
.hero-loud {
  min-height: 100vh;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-topbar {
  display: flex; justify-content: space-between;
  padding: 140px 64px 0;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.6);
}
.hero-center {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 0 32px;
}
.hero-title {
  font-size: clamp(100px, 22vw, 400px);
  font-weight: 800; letter-spacing: -0.07em;
  line-height: 0.82; margin: 0; text-align: center;
  display: flex; justify-content: center; align-items: baseline;
  flex-wrap: wrap; gap: 0 0.04em;
}
.pulse {
  display: inline-block;
  animation: becr-pulse 1.4s ease-in-out infinite;
}
.hero-rotator {
  font-size: clamp(40px, 9vw, 140px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-align: center;
  margin-top: 24px;
  font-style: italic;
  color: var(--accent);
}
.hero-word {
  display: inline-block;
  animation: becr-word-loud .5s cubic-bezier(.2,.7,.3,1);
}

/* ---------- marquee ---------- */
.marquee {
  width: 100%;
  height: 64px;
  background: var(--accent);
  color: var(--accent-ink);
  overflow: hidden;
  display: flex; align-items: center;
  border-top: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: becr-marquee 40s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 48px;
  padding-right: 48px;
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
}
.marquee-item .bullet {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent-ink);
  opacity: 0.4;
}

/* ---------- sections ---------- */
.section { padding: 160px 0 120px; }
.section-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.section-header.is-visible { opacity: 1; transform: translateY(0); }
.section-tag {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 32px;
}
.section-tag.on-dark { color: rgba(242, 239, 230, 0.6); }
.section-title {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 800; letter-spacing: -0.05em;
  line-height: 0.9;
}
.section-header.on-dark .section-title { color: var(--bg); }

/* ---------- services ---------- */
.services {
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--line);
}
.services-grid {
  max-width: var(--container);
  margin: 80px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--fg);
}
.service-row {
  padding: 40px 32px;
  border-bottom: 1px solid var(--fg);
  border-right: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  transition: background .25s ease, color .25s ease,
              opacity .8s ease, transform .8s ease;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  display: block;
}
.service-row:nth-child(2n) { border-right: none; }
.service-row.is-visible { opacity: 1; transform: translateY(0); }
.service-row:hover { background: var(--fg); color: var(--bg); }

.service-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.service-head .mono-id {
  font-size: 12px; opacity: 0.6;
}
.service-arrow {
  font-size: 24px; line-height: 1;
  transform: translateX(-6px);
  opacity: 0.3;
  transition: transform .25s ease, opacity .25s ease, color .25s ease;
  color: inherit;
}
.service-row:hover .service-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--accent);
}
.service-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 16px;
}
.service-desc {
  font-size: 17px; line-height: 1.5;
  margin: 0 0 20px;
  max-width: 460px;
  opacity: 0.85;
}
.service-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.service-tags span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(26, 26, 24, 0.2);
  transition: border-color .25s ease;
}
.service-row:hover .service-tags span {
  border-color: rgba(242, 239, 230, 0.3);
}

/* ---------- work ---------- */
.work {
  background: var(--fg);
  color: var(--bg);
  position: relative;
}
.work-grid {
  max-width: var(--container);
  margin: 80px auto 0;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr;
}
.work-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 1fr 1fr 80px;
  gap: 24px; align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(242, 239, 230, 0.2);
  color: var(--bg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
  position: relative;
}
.work-row:last-child {
  border-bottom: 1px solid rgba(242, 239, 230, 0.2);
}
.work-row.is-visible { opacity: 1; transform: translateY(0); }
.work-id,
.work-sector,
.work-year {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.6);
}
.work-id { letter-spacing: 0.14em; }
.work-sector, .work-year { letter-spacing: 0.12em; }
.work-name {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1;
}
.work-arrow {
  font-size: 24px; text-align: right; color: var(--accent);
  transition: transform .3s ease;
}
.work-row:hover .work-arrow { transform: translateX(6px); }

.work-preview {
  position: fixed;
  width: 280px; height: 200px;
  pointer-events: none; z-index: 100;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--bg);
  will-change: transform;
}
.work-preview.is-visible { display: flex; }
.work-preview-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-preview-name {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em;
}
.work-preview-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.8;
}

.work-footer {
  max-width: var(--container);
  margin: 60px auto 0;
  padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.6);
}
.link-underline {
  color: var(--bg);
  border-bottom: 1px solid var(--bg);
  padding-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

/* ---------- process ---------- */
.process {
  background: var(--bg);
  color: var(--fg);
}
.process-grid {
  max-width: var(--container);
  margin: 80px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  padding: 40px 32px 40px 32px;
  border-top: 1px solid var(--fg);
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
  position: relative;
}
.process-step:first-child { padding-left: 0; }
.process-step.is-last,
.process-step:last-child {
  border-right: none;
  padding-right: 0;
}
.process-step.is-visible { opacity: 1; transform: translateY(0); }
.process-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.process-head .mono-id {
  font-size: 13px;
  color: var(--fg-soft);
}
.process-rule {
  flex: 1; height: 1px; background: var(--line);
}
.process-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.process-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em;
  margin: 0 0 20px;
  line-height: 1;
}
.process-desc {
  font-size: 16px; line-height: 1.55;
  color: var(--fg-soft);
}

/* ---------- about ---------- */
.about {
  background: var(--accent);
  color: var(--accent-ink);
  border-top: 1px solid var(--fg);
  padding: 160px 0;
}
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.about-grid.is-visible { opacity: 1; transform: translateY(0); }
.tag-on-accent {
  color: var(--accent-ink);
  opacity: 0.7;
}
.about-title {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.95;
}
.accent-ink-dot { color: var(--fg); }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 24, 0.2);
}
.stat-num {
  font-size: 56px; font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.9;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; margin-top: 8px;
  opacity: 0.7;
}
.about-lede {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 760px;
}
.about-sub { opacity: 0.6; }
.about-pills {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 48px;
}
.about-pills span {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid var(--fg);
  font-weight: 600;
}

/* ---------- contact ---------- */
.contact {
  background: var(--fg);
  color: var(--bg);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.contact-title {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 800; letter-spacing: -0.05em;
  line-height: 0.9;
}
.contact-rotator {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.contact-word {
  display: inline-block;
  animation: becr-word-in .6s cubic-bezier(.2,.7,.3,1);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 96px; padding-top: 48px;
  border-top: 1px solid rgba(242, 239, 230, 0.2);
}
.mono-kicker {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.6);
  margin-bottom: 16px;
}
.contact-email {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--bg);
  border-bottom: 1px solid rgba(242, 239, 230, 0.2);
  padding-bottom: 8px;
  display: inline-block;
  transition: border-color .25s ease;
}
.contact-email:hover { border-color: var(--accent); }
.contact-email-alt {
  font-size: 16px;
  color: rgba(242, 239, 230, 0.6);
  margin-top: 12px;
}
.studio {
  font-size: 18px; line-height: 1.6;
}
.studio + .studio { margin-top: 24px; }
.studio strong { font-weight: 700; }
.studio-meta { color: rgba(242, 239, 230, 0.6); }

.contact-cta-wrap { margin-top: 80px; }
.contact-cta {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 28px 36px;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
}
.arrow-lg { font-size: 28px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--fg);
  color: rgba(242, 239, 230, 0.6);
  padding: 32px;
  border-top: 1px solid rgba(242, 239, 230, 0.13);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--bg); }

/* =========================================================
   Animations
   ========================================================= */
@keyframes becr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}
@keyframes becr-word-in {
  0%   { opacity: 0; transform: translateY(0.4em) skewY(4deg); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); }
}
@keyframes becr-word-loud {
  0%   { opacity: 0; transform: translateY(0.5em) scale(0.92); letter-spacing: 0; }
  100% { opacity: 1; transform: translateY(0) scale(1); letter-spacing: -0.05em; }
}
@keyframes becr-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* =========================================================
   Responsive — mobile breakpoint @ 800px
   ========================================================= */
@media (max-width: 800px) {
  body { cursor: auto; }
  .custom-cursor { display: none !important; }

  .site-nav { padding: 16px 20px !important; }
  .nav-links a:not(.nav-cta) { display: none; }

  .section { padding: 110px 0 60px; }
  .section-header,
  .services-grid,
  .work-grid,
  .process-grid,
  .about-grid,
  .contact-inner,
  .work-footer {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hero-topbar { padding: 110px 24px 0; font-size: 11px; }

  .services-grid { grid-template-columns: 1fr !important; }
  .service-row { border-right: none !important; }

  .process-grid { grid-template-columns: 1fr !important; }
  .process-step {
    border-right: none !important;
    border-top: 1px solid var(--line) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .about-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 48px !important; }

  .work-row {
    grid-template-columns: 40px 1fr 60px !important;
  }
  .work-sector,
  .work-year { display: none; }

  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
