/* B-Virtual website: dark theme. Every editor block uses these classes. */

:root {
  --bv-bg: #07090a;
  --bv-surface: #0e1315;
  --bv-surface-2: #131a1d;
  --bv-line: rgba(255, 255, 255, 0.08);
  --bv-line-strong: rgba(255, 255, 255, 0.16);
  --bv-text: #e9eef0;
  --bv-muted: #93a2a8;
  --bv-teal: #4a8ba7;          /* brand teal, from the logo */
  --bv-teal-bright: #7cc4dc;   /* accent text on dark, AA on --bv-bg */
  --bv-glow: rgba(74, 139, 167, 0.28);
  --bv-radius: 22px;
  --bv-radius-sm: 14px;
  --bv-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bv-font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --bv-font-accent: 'Instrument Serif', Georgia, serif;
  --bv-max: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bv-bg);
  color: var(--bv-text);
  font: 400 17px/1.65 var(--bv-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bv-teal-bright); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--bv-teal-bright); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--bv-font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: #fff;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }

/* The italic accent words, like "thinks" in the hero */
.bv-accent, h1 em, h2 em {
  font-family: var(--bv-font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bv-teal-bright);
}

.bv-container { width: min(100% - 40px, var(--bv-max)); margin-inline: auto; }
.bv-narrow { max-width: 760px; }
.bv-center { text-align: center; margin-inline: auto; }
.bv-section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.bv-section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.bv-section--surface { background: var(--bv-surface); border-block: 1px solid var(--bv-line); }

.bv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.78rem/1 var(--bv-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bv-teal-bright);
  margin-bottom: 22px;
}
.bv-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.bv-center .bv-eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; }

.bv-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--bv-muted); max-width: 40em; }
.bv-muted { color: var(--bv-muted); }

/* Buttons */
.bv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bv-center .bv-actions { justify-content: center; }
.bv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font: 500 0.95rem/1 var(--bv-font);
  border: 1px solid var(--bv-line-strong);
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.bv-btn:hover { border-color: var(--bv-teal-bright); color: #fff; }
.bv-btn--primary { background: var(--bv-teal); border-color: var(--bv-teal); }
.bv-btn--primary:hover { background: #3c7a95; border-color: #3c7a95; transform: translateY(-1px); }
.bv-btn .bv-arrow { transition: transform 0.2s; }
.bv-btn:hover .bv-arrow { transform: translateX(3px); }

/* Header */
.bv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.bv-header.is-scrolled {
  background: rgba(7, 9, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--bv-line);
}
.bv-header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.bv-logo img { height: 28px; width: auto; }
.bv-nav { display: flex; align-items: center; gap: 30px; }
.bv-nav a { color: var(--bv-muted); font-size: 0.95rem; }
.bv-nav a:hover, .bv-nav a[aria-current='page'] { color: #fff; }
.bv-nav .bv-btn { padding: 11px 20px; color: #fff; }
.bv-menu-toggle { display: none; }

@media (max-width: 860px) {
  .bv-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--bv-line-strong);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
  }
  .bv-menu-toggle span, .bv-menu-toggle span::before, .bv-menu-toggle span::after {
    display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: transform 0.2s;
  }
  .bv-menu-toggle span::before, .bv-menu-toggle span::after { content: ''; position: absolute; left: 0; }
  .bv-menu-toggle span::before { top: -6px; }
  .bv-menu-toggle span::after { top: 6px; }
  .bv-header.is-open .bv-menu-toggle span { background: transparent; }
  .bv-header.is-open .bv-menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .bv-header.is-open .bv-menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .bv-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: rgba(7, 9, 10, 0.97);
    border-bottom: 1px solid var(--bv-line);
    display: none;
  }
  .bv-header.is-open { background: rgba(7, 9, 10, 0.97); }
  .bv-header.is-open .bv-nav { display: flex; }
  .bv-nav a { padding: 14px 0; border-bottom: 1px solid var(--bv-line); font-size: 1.05rem; }
  .bv-nav .bv-btn { margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--bv-teal); padding: 14px; }
}

/* Hero */
.bv-hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.bv-hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 980px;
  max-height: 980px;
  background: radial-gradient(closest-side, var(--bv-glow), transparent 70%);
  pointer-events: none;
}
.bv-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; position: relative; }
.bv-hero h1 { margin-bottom: 0.35em; }
.bv-hero__media { position: relative; }
.bv-hero__media img {
  width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  animation: bv-float 9s ease-in-out infinite;
}
@keyframes bv-float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .bv-hero__media img { animation: none; } }
.bv-hero__aside { max-width: 22em; color: var(--bv-muted); font-size: 0.98rem; border-left: 1px solid var(--bv-line-strong); padding-left: 18px; margin-top: 36px; }

.bv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding: 0; list-style: none; }
.bv-tags li {
  padding: 8px 14px;
  border: 1px solid var(--bv-line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--bv-muted);
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 860px) {
  .bv-hero__grid { grid-template-columns: 1fr; }
  .bv-hero__media { order: -1; max-width: 340px; margin: 0 auto -20px; }
}

/* Page hero for sub pages */
.bv-pagehero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.bv-pagehero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -40%;
  translate: -50% 0;
  width: 900px;
  height: 600px;
  background: radial-gradient(closest-side, var(--bv-glow), transparent 70%);
  pointer-events: none;
}
.bv-pagehero > * { position: relative; }

/* Stats */
.bv-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--bv-line); }
.bv-stat { padding: 34px 28px; border-left: 1px solid var(--bv-line); }
.bv-stat:first-child { border-left: 0; padding-left: 0; }
.bv-stat__num { font: 600 clamp(2.2rem, 4vw, 3.2rem)/1 var(--bv-font-display); letter-spacing: -0.03em; color: #fff; margin-bottom: 10px; }
.bv-stat__num small { font-size: 0.45em; color: var(--bv-teal-bright); margin-left: 4px; letter-spacing: 0; }
.bv-stat p { margin: 0; color: var(--bv-muted); font-size: 0.95rem; }
@media (max-width: 720px) {
  .bv-stats { grid-template-columns: 1fr; }
  .bv-stat { border-left: 0; border-top: 1px solid var(--bv-line); padding: 26px 0; }
  .bv-stat:first-child { border-top: 0; }
}

/* Section heading row: title left, text right */
.bv-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.bv-head h2 { margin: 0; }
.bv-head p { margin: 0; color: var(--bv-muted); }
@media (max-width: 860px) { .bv-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; } }

/* Services list (the "↳ Branding" pills from the reference, as rows) */
.bv-services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bv-line); }
.bv-service {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr 40px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--bv-line);
  transition: background 0.25s, padding 0.25s;
}
.bv-service:hover { background: linear-gradient(90deg, rgba(74, 139, 167, 0.1), transparent 70%); padding-left: 16px; }
.bv-service__num { font: 500 0.85rem/1 var(--bv-font); color: var(--bv-teal-bright); }
.bv-service h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.bv-service p { margin: 0; color: var(--bv-muted); font-size: 0.98rem; }
.bv-service__go { color: var(--bv-teal-bright); font-size: 1.4rem; justify-self: end; }
@media (max-width: 860px) {
  .bv-service { grid-template-columns: 40px 1fr; gap: 6px 14px; }
  .bv-service p { grid-column: 2; }
  .bv-service__go { display: none; }
}

/* Cards */
.bv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bv-cards--2 { grid-template-columns: repeat(2, 1fr); }
.bv-card {
  background: var(--bv-surface);
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-radius);
  padding: 30px;
  transition: border-color 0.25s, transform 0.25s;
}
.bv-card:hover { border-color: rgba(124, 196, 220, 0.35); transform: translateY(-2px); }
.bv-card h3 { margin-top: 18px; }
.bv-card p { color: var(--bv-muted); margin: 0; font-size: 0.97rem; }
.bv-card__meta { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bv-teal-bright); }
.bv-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(74, 139, 167, 0.14);
  color: var(--bv-teal-bright);
}
.bv-icon svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .bv-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bv-cards, .bv-cards--2 { grid-template-columns: 1fr; } }

/* Feature: image + text on a dark panel */
.bv-feature {
  position: relative;
  border: 1px solid var(--bv-line);
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.bv-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.bv-feature__body { position: relative; padding: clamp(32px, 5vw, 64px); max-width: 560px; }
.bv-feature__body p { color: var(--bv-muted); }
@media (max-width: 760px) {
  .bv-feature { display: block; min-height: 0; }
  .bv-feature__img { position: relative; height: 260px; object-position: 75% center; }
}

.bv-check { list-style: none; padding: 0; margin: 20px 0 0; }
.bv-check li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--bv-text); }
.bv-check li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--bv-teal-bright);
  border-right: 2px solid var(--bv-teal-bright);
  transform: rotate(45deg);
}

/* Quote */
.bv-quote { text-align: center; max-width: 900px; margin: 0 auto; }
.bv-quote blockquote {
  margin: 0;
  font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1.3 var(--bv-font-display);
  letter-spacing: -0.02em;
  color: #fff;
}
.bv-quote blockquote em { font-family: var(--bv-font-accent); color: var(--bv-teal-bright); }
.bv-quote figcaption { margin-top: 28px; color: var(--bv-muted); font-size: 0.95rem; }
.bv-quote figcaption b { color: #fff; font-weight: 500; }

/* Timeline / experience */
.bv-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bv-line); }
.bv-timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--bv-line); }
.bv-timeline__when { color: var(--bv-teal-bright); font-size: 0.9rem; padding-top: 4px; }
.bv-timeline h3 { margin: 0 0 6px; }
.bv-timeline p { margin: 0; color: var(--bv-muted); }
@media (max-width: 640px) { .bv-timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* Two columns */
.bv-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .bv-grid-2 { grid-template-columns: 1fr; } }

.bv-photo { border-radius: var(--bv-radius); border: 1px solid var(--bv-line); }

/* Language chips */
.bv-langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bv-langs li { background: var(--bv-surface); border: 1px solid var(--bv-line); border-radius: var(--bv-radius-sm); padding: 16px 18px; }
.bv-langs b { display: block; color: #fff; font-weight: 500; }
.bv-langs span { color: var(--bv-muted); font-size: 0.88rem; }

/* CTA band */
.bv-cta {
  position: relative;
  border-radius: 32px;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, rgba(74, 139, 167, 0.35), transparent 60%), var(--bv-surface);
  border: 1px solid var(--bv-line);
}
.bv-cta p { color: var(--bv-muted); max-width: 36em; margin-inline: auto; }

/* Contact */
.bv-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.bv-contact__info { list-style: none; padding: 0; margin: 32px 0 0; }
.bv-contact__info li { padding: 16px 0; border-bottom: 1px solid var(--bv-line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.bv-contact__info span { color: var(--bv-muted); font-size: 0.88rem; padding-top: 2px; }
.bv-contact__info a, .bv-contact__info b { color: #fff; font-weight: 400; }
.bv-contact__info a:hover { color: var(--bv-teal-bright); }
@media (max-width: 860px) { .bv-contact { grid-template-columns: 1fr; } }

.bv-form { background: var(--bv-surface); border: 1px solid var(--bv-line); border-radius: var(--bv-radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.bv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .bv-form__row { grid-template-columns: 1fr; } }
.bv-form label { display: grid; gap: 8px; font-size: 0.88rem; color: var(--bv-muted); }
.bv-form input, .bv-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  background: var(--bv-bg);
  border: 1px solid var(--bv-line-strong);
  border-radius: 12px;
  padding: 13px 15px;
}
.bv-form textarea { min-height: 150px; resize: vertical; }
.bv-form input:focus, .bv-form textarea:focus { outline: none; border-color: var(--bv-teal-bright); box-shadow: 0 0 0 3px rgba(124, 196, 220, 0.18); }
.bv-form button { justify-self: start; }
.bv-form .bv-hp { position: absolute; left: -9999px; }
.bv-form__status { margin: 0; font-size: 0.95rem; }
.bv-form__status.is-ok { color: #8fe0b8; }
.bv-form__status.is-error { color: #ff9b8f; }

/* Footer */
.bv-footer { border-top: 1px solid var(--bv-line); padding: 80px 0 32px; margin-top: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.bv-footer .bv-footer__big {
  font: 600 clamp(3rem, 11vw, 9.5rem)/0.95 var(--bv-font-display);
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 0 64px;
  max-width: none;
}
.bv-footer .bv-footer__big em { font-family: var(--bv-font-accent); font-weight: 400; color: var(--bv-teal-bright); }
.bv-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.bv-footer h4 { font: 500 0.78rem/1 var(--bv-font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bv-muted); margin-bottom: 18px; }
.bv-footer ul { list-style: none; margin: 0; padding: 0; }
.bv-footer li { margin-bottom: 10px; }
.bv-footer a { color: var(--bv-text); }
.bv-footer a:hover { color: var(--bv-teal-bright); }
.bv-footer__logo { height: 26px; width: auto; margin-bottom: 18px; }
.bv-footer p { color: var(--bv-muted); font-size: 0.95rem; max-width: 22em; }
.bv-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--bv-line); color: var(--bv-muted); font-size: 0.85rem; }
@media (max-width: 860px) { .bv-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bv-footer__grid { grid-template-columns: 1fr; } }

/* Reveal on scroll (only when JS is on) */
.bv-js .bv-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.bv-js .bv-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bv-js .bv-reveal { opacity: 1; transform: none; transition: none; } }

/* Last card in a grid that invites contact */
.bv-card--cta { display: block; color: var(--bv-text); background: linear-gradient(140deg, rgba(74, 139, 167, 0.28), var(--bv-surface) 70%); border-color: rgba(124, 196, 220, 0.3); }
.bv-card--cta:hover { color: var(--bv-text); }
.bv-card--cta p { color: var(--bv-teal-bright); }
