/* =========================================================================
   BLV GROUP — Graphite (cool monochrome, modern)
   A dark, mesh-lit one-pager for the holding.
   Type:  Bricolage Grotesque (display) · Hanken Grotesk (body) · JetBrains Mono (labels)
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  /* surfaces — cool near-black */
  --bg:        #090a0c;
  --bg-2:      #0d0e11;
  --bg-3:      #121317;
  --bg-card:   #101116;

  /* ink — cool off-white */
  --ink:       #f4f6f8;
  --ink-soft:  #aab1bb;
  --ink-mute:  #8d939d;

  /* accent — steel / moonlight (no hue, just a cool highlight) */
  --accent:      #e3e9f0;
  --accent-dim:  rgba(227, 233, 240, 0.42);
  --accent-line: rgba(227, 233, 240, 0.22);
  /* brushed-steel gradient for emphasis words */
  --steel-grad:  linear-gradient(180deg, #ffffff 0%, #c2cbd6 64%, #aab3bf 100%);

  /* lines */
  --line:      rgba(244, 246, 248, 0.085);
  --line-2:    rgba(244, 246, 248, 0.16);

  /* layout */
  --container: 1240px;
  --pad-x:     clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(5rem, 13vh, 11rem);

  /* type */
  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* cool radial atmosphere behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(110% 70% at 50% -12%, rgba(150, 170, 205, 0.07), transparent 55%),
    radial-gradient(90% 60% at 100% 102%, rgba(140, 160, 195, 0.04), transparent 52%),
    var(--bg);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

::selection { background: rgba(227, 233, 240, 0.22); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Atmosphere overlays ---- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(130% 100% at 50% 38%, transparent 56%, rgba(0,0,0,0.5) 100%);
}

/* ---- Shared ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* steel emphasis word — padding/negative-margin give italic glyphs room so
   background-clip:text doesn't shear the trailing letter */
.accent-text {
  background: var(--steel-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent); /* fallback */
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 1px rgba(227, 233, 240, 0.45);
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.1rem, 1.2rem + 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 1.1rem;
  max-width: 16ch;
  text-wrap: balance;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95em 1.6em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), background 0.4s var(--ease),
              color 0.4s var(--ease), border-color 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.btn span { transition: transform 0.4s var(--ease); }
.btn--primary {
  background: var(--ink);
  color: #0a0b0d;
  font-weight: 600;
  box-shadow: 0 10px 34px -14px rgba(227, 233, 240, 0.45);
}
.btn--primary:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 16px 44px -14px rgba(227, 233, 240, 0.6); }
.btn--primary:hover span { transform: translateY(3px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent); transform: translateY(-2px); }
.btn--ghost:hover span { transform: translate(2px, -2px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 10, 12, 0.7);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.15rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brandmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  line-height: 1;
}
.brandmark__mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brandmark__sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--ink-mute);
  transform: translateY(-0.15em);
}

.nav__links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-left: auto;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3em 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__toggle span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem var(--pad-x) 1.6rem;
  background: rgba(9, 10, 12, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu a:last-child { border-bottom: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(3rem, 1rem + 11vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 1.6rem 0 0;
}
.hero__title .line { display: block; }
.hero__title em { font-style: italic; font-weight: 600; }

.hero__lede {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 350;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: max(var(--pad-x), calc((100% - var(--container)) / 2 + var(--pad-x)));
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
}
.hero__scroll-line {
  width: 64px; height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--accent);
  animation: scrollpulse 2.6s var(--ease) infinite;
}
@keyframes scrollpulse {
  0%   { transform: translateX(-100%); }
  60%, 100% { transform: translateX(280%); }
}

/* =========================================================================
   MANIFESTO
   ========================================================================= */
.manifesto {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.manifesto__text {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(1.5rem, 0.9rem + 2.6vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 30ch;
  margin-top: 1.6rem;
  color: var(--ink);
  text-wrap: pretty;
}

/* =========================================================================
   BRANDS — full-width rows, each led by the real brand logo (white)
   ========================================================================= */
.brands {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.brand-rows { display: flex; flex-direction: column; }

.brand-row {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.brand-row:first-child { border-top: none; padding-top: clamp(0.5rem, 2vw, 2rem); }

/* head — logo + meta */
.brand-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.7rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}
.brand-row__meta {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.brand-row__meta b { color: var(--accent); font-weight: 400; }

/* logo lockups — all white, normalized height, for a cohesive holding wall */
.bf-logo { display: inline-flex; align-items: center; gap: 0.5rem; }
.bf-logo__img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.bf-logo__img--webmatik { height: 40px; }
.bf-logo--belov { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.bf-logo--belov i { font-style: normal; color: var(--accent); margin-left: -0.06em; }
.bf-logo__mark { width: 24px; height: 24px; flex: none; }
.bf-logo__mark path { stroke: var(--ink); }
.bf-logo__wm { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--ink); }

/* body — lead statement + capability aside */
.brand-row__body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.brand-row__lead {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.5;
  font-weight: 350;
  max-width: 46ch;
  text-wrap: pretty;
}
.brand-row__main { display: flex; flex-direction: column; }
.bf__name {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.brand-row__aside { display: flex; flex-direction: column; gap: 1.6rem; }

.bf__list { display: flex; flex-direction: column; }
.bf__list li {
  display: flex;
  gap: 0.7em;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.bf__list li:first-child { border-top: none; padding-top: 0; }
.bf__list li::before { content: "+"; color: var(--accent-dim); flex: none; }

.bf__tags { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.bf__tags li {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.bf__tags li::before { content: "/ "; color: var(--accent-dim); }

.bf__cta { align-self: flex-start; }

/* =========================================================================
   APPROACH
   ========================================================================= */
.approach {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.pillar {
  border-top: 1px solid var(--accent-line);
  padding-top: 1.6rem;
}
.pillar__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.pillar__title {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem);
  letter-spacing: -0.025em;
  margin: 1rem 0 0.8rem;
}
.pillar__text {
  color: var(--ink-soft);
  font-weight: 350;
  font-size: 1rem;
  line-height: 1.62;
  max-width: 34ch;
  text-wrap: pretty;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.brandmark--footer .brandmark__mark { font-size: 1.6rem; }
.footer__tag {
  margin-top: 1rem;
  color: var(--ink-mute);
  font-size: 0.92rem;
  max-width: 28ch;
}
.footer__links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links-head {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.footer__links a {
  color: var(--ink-soft);
  font-size: 0.96rem;
  width: fit-content;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer__links a:hover { color: var(--accent); padding-left: 0.4rem; }

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.footer__top {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.footer__top:hover { color: var(--accent); }
.footer__copy {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .brand-row__body { grid-template-columns: 1fr; gap: 2rem; }
  .brand-row__head { gap: 1rem; }

  .pillars { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__meta { align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero .eyebrow__loc { display: none; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }

  .bf__list { grid-template-columns: 1fr; max-width: none; }
}

/* =========================================================================
   MOTION PREFERENCE
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
