:root {
  --frost: #DFE0DC;
  --spring: #D1D8BD;
  --khaki: #C7C2AB;
  --ivy: #77785C;
  --serpentine: #283106;
  --white: #F4F4F1;

  --font-display: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sidebar-w: 260px;
  --content-max: 1100px;
  --pad: clamp(24px, 5vw, 72px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--frost);
  color: var(--serpentine);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- Top bar (mobile) ---------- */
.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--frost) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--khaki);
}
.topbar__name { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.topbar .langswitch { display: none; }
.topbar__toggle {
  width: 44px; height: 44px;
  border: 1px solid var(--khaki);
  border-radius: 50%;
  background: transparent;
  display: grid; place-items: center; gap: 5px;
  cursor: pointer;
}
.topbar__toggle span {
  width: 18px; height: 2px; background: var(--serpentine);
  transition: transform .3s, opacity .3s;
}
.topbar__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.topbar__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  padding: 44px 32px;
  border-right: 1px solid var(--khaki);
  background: var(--frost);
  display: flex;
  flex-direction: column;
  gap: 36px;
  z-index: 50;
  overflow-y: auto;
}
.sidebar__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  border: 2px solid var(--spring);
}
.sidebar__role {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivy);
  line-height: 1.5;
}
.sidebar__name {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: .95;
  letter-spacing: .02em;
}
.sidebar__nav { display: flex; flex-direction: column; gap: 10px; }
.sidebar__nav a {
  font-size: 15px;
  color: var(--ivy);
  padding-left: 14px;
  position: relative;
  transition: color .25s;
}
.sidebar__nav a::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--serpentine);
  transform: translateY(-50%) scale(0);
  transition: transform .25s;
}
.sidebar__nav a:hover, .sidebar__nav a.is-active { color: var(--serpentine); }
.sidebar__nav a.is-active::before { transform: translateY(-50%) scale(1); }

.sidebar__label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivy);
  margin-bottom: 10px;
}
/* Five 34px circles + gaps have to clear the 196px sidebar measure, so the gap
   is sized to leave slack rather than wrap one link onto a lonely second row. */
.sidebar__social { display: flex; flex-wrap: wrap; gap: 5px; }
.sidebar__social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--khaki);
  border-radius: 50%;
  font-size: 12px; font-weight: 600;
  transition: background .25s, color .25s;
}
.sidebar__social a:hover { background: var(--serpentine); color: var(--frost); }
.sidebar__scrim { display: none; }

/* ---------- Language switch ---------- */
.langswitch {
  display: inline-flex;
  border: 1px solid var(--khaki);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.langswitch button {
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ivy);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.langswitch button:hover { color: var(--serpentine); }
.langswitch button.is-active { background: var(--serpentine); color: var(--frost); }
.langswitch button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ivy) 25%, transparent);
}

/* ---------- Content ---------- */
.content { margin-left: var(--sidebar-w); }

.section {
  padding: clamp(72px, 10vw, 128px) var(--pad);
  max-width: calc(var(--content-max) + var(--pad) * 2);
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--khaki);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.section.is-drawn::before { transform: scaleX(1); }
.no-motion .section::before { transform: scaleX(1); }
.why::before { display: none; }
.section__label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivy);
  margin-bottom: 18px;
}
.section__label--light { color: var(--spring); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: .01em;
  max-width: 20ch;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
}
.btn span { transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover span { transform: translate(2px, -2px); }
.btn--primary { background: var(--serpentine); color: var(--frost); }
.btn--light { background: var(--frost); color: var(--serpentine); }
.btn--block { width: 100%; justify-content: center; }
.link-arrow { font-weight: 500; display: inline-flex; gap: 6px; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 4vw, 56px) var(--pad) 0;
  max-width: calc(var(--content-max) + var(--pad) * 2);
  overflow: hidden;
}
.hero__eyebrow { font-size: 14px; color: var(--ivy); margin-bottom: 10px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 128px);
  line-height: .9;
  letter-spacing: .01em;
  display: flex; flex-direction: column;
}
.hero__line { display: block; }
.hero__tagline {
  margin-top: 24px;
  max-width: 42ch;
  font-size: 17px;
  color: var(--ivy);
}
.hero__status {
  margin-top: 22px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ivy);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5B8C3E;
  box-shadow: 0 0 0 0 rgba(91,140,62,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91,140,62,.45); }
  70% { box-shadow: 0 0 0 10px rgba(91,140,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,140,62,0); }
}
.hero__actions {
  margin-top: 26px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
}
.hero__meta { font-size: 13px; color: var(--ivy); }

.hero__visual {
  display: grid; place-items: end center;
  align-self: end;
  height: 100%;
}
.hero__media {
  width: min(100%, 540px);
  aspect-ratio: 4 / 5;
  position: relative;
}
.hero__video, .hero__still {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  filter: grayscale(1) contrast(1.06);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__video { mix-blend-mode: multiply; opacity: 0; transition: opacity .6s ease; }
/* Visible by default so the hero is never an empty box — if the clip is blocked,
   rejected, or JS never runs, the photo is already there and simply stays */
.hero__still { opacity: 1; transform: none; transform-origin: 50% 100%; transition: opacity .8s ease, transform .9s ease; }
.hero__media.is-playing .hero__video { opacity: 1; }
.hero__media.is-fallback .hero__still, .no-motion .hero__still { opacity: 1; transform: none; }
.hero__media.is-playing .hero__still { opacity: 0; }

/* ---------- Marquee ---------- */
.marquee {
  margin-left: 0;
  border-top: 1px solid var(--khaki);
  border-bottom: 1px solid var(--khaki);
  overflow: hidden;
  padding: 18px 0;
  background: var(--spring);
}
.marquee__track {
  display: flex; gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .06em;
  color: var(--ivy);
  white-space: nowrap;
}
/* Bulgarian sets the lane in caps — Cyrillic lowercase reads small next to the
   English tech names it sits beside, and the extra tracking keeps it from
   tightening up. */
html[lang="bg"] .marquee__track span { text-transform: uppercase; letter-spacing: .09em; }
.marquee__track span::after { content: "◆"; margin-left: 48px; font-size: 9px; vertical-align: middle; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.stat {
  padding: 24px 0;
  border-top: 1px solid var(--khaki);
}
.stat__num, .stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
}
.stat__suffix { color: var(--ivy); }
.stat p { margin-top: 8px; font-size: 13px; color: var(--ivy); }

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}
.about__copy p + p { margin-top: 18px; }
.about__copy { font-size: 17px; }
.about__card {
  background: var(--spring);
  border-radius: var(--radius);
  padding: 32px;
}
.about__card-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ivy); margin-bottom: 14px;
}
.about__card li {
  padding: 10px 0;
  border-top: 1px solid var(--khaki);
  font-size: 15px;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--khaki);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s, background .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); background: var(--spring); border-color: var(--spring); }
.card__num { font-family: var(--font-display); font-size: 22px; color: var(--ivy); }
.card h3 { font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: .01em; }
.card p { font-size: 14px; color: var(--ivy); flex: 1; }

/* The web build card leads the grid, so it runs the full width in one row */
.card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px 36px;
  align-items: start;
  padding: 32px;
}
.card__lead { display: flex; flex-direction: column; gap: 12px; }
.card--featured h3 { font-size: 38px; }
.card--featured p { font-size: 15px; max-width: 52ch; }
.card--featured .chips { align-content: flex-start; }
.card__tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--serpentine);
  background: var(--spring);
  border-radius: 999px;
  padding: 4px 10px;
}
.card--featured:hover .card__tag { background: var(--frost); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--khaki);
  background: var(--frost);
}
.chips--lg li { font-size: 13px; padding: 8px 14px; background: var(--white); }

/* ---------- Process ----------
   The warm band. Khaki gets no surface area anywhere else on the page, and this
   is the flattest section — no cards, just hairlines — so it carries the colour
   without fighting anything. `max-width: none` lets it bleed the full content
   column (same trick as .why); the right padding then re-caps the text measure
   so the timeline lines up with the sections above and below. */
.process {
  max-width: none;
  background: var(--khaki);
  padding-right: max(var(--pad), calc(100% - var(--content-max) - var(--pad)));
}
/* Ivy on khaki is 2.5:1 — too low for anything. Serpentine is 7.7:1. */
.process .section__label { color: var(--serpentine); }
.process::before { background: var(--ivy); }

.timeline { display: flex; flex-direction: column; }
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ivy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.timeline__item.is-drawn::before { transform: scaleX(1); }
.no-motion .timeline__item::before { transform: scaleX(1); }
.timeline__item:last-child { border-bottom: 1px solid var(--ivy); }
.timeline__num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--serpentine);
  letter-spacing: .04em;
}
.timeline__item h3 { font-family: var(--font-display); font-size: 36px; line-height: 1; margin-bottom: 10px; }
/* Softened off full serpentine so the body copy doesn't read heavier here than
   the ivy paragraphs elsewhere, but still ~5.4:1 on khaki. */
.timeline__item p { max-width: 60ch; color: color-mix(in srgb, var(--serpentine) 78%, var(--khaki)); }

/* ---------- Web build ---------- */
.webbuild__lead {
  max-width: 60ch;
  margin-bottom: clamp(16px, 3vw, 32px);
  font-size: 17px;
  color: var(--ivy);
}

/* ---------- Toolkit ---------- */
.toolkit__groups { display: flex; flex-direction: column; gap: 10px; }
.group {
  position: relative;
  border: 1px solid var(--khaki);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: background .4s ease, border-color .4s ease;
}
.group::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--serpentine);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.group[open] { background: var(--spring); border-color: var(--spring); }
.group[open]::before { transform: scaleY(1); }

.group summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 48px 1fr auto 28px;
  align-items: center;
  gap: 12px;
  transition: background .3s ease;
}
.group summary::-webkit-details-marker { display: none; }
.group summary:hover { background: color-mix(in srgb, var(--spring) 55%, transparent); }
.group summary:focus-visible { outline: 2px solid var(--ivy); outline-offset: -3px; }

.group__num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ivy);
  letter-spacing: .06em;
  transition: transform .3s ease, color .3s ease;
}
.group__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .3s ease;
}
.group__count {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ivy);
  white-space: nowrap;
}
.group summary:hover .group__num { transform: translateX(4px); color: var(--serpentine); }
.group summary:hover .group__title { transform: translateX(4px); }

.group__icon { position: relative; width: 18px; height: 18px; justify-self: end; }
.group__icon::before, .group__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--serpentine);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.group__icon::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.group__icon::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%) scaleY(1); }
.group[open] .group__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.group__body { overflow: hidden; }
.group__body .chips { padding: 0 26px 26px; }
.chips--lg li {
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.chips--lg li:hover {
  transform: translateY(-2px);
  border-color: var(--ivy);
  background: var(--frost);
}

/* ---------- Why ---------- */
.why {
  background: var(--serpentine);
  color: var(--frost);
  border-top: none;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why__cta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: .95;
  margin-bottom: 28px;
  max-width: 14ch;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--ivy);
  color: var(--spring);
}

/* ---------- Contact ---------- */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ivy);
}
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--serpentine);
  background: var(--white);
  border: 1px solid var(--khaki);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--ivy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ivy) 25%, transparent);
}
.form textarea { resize: vertical; }
.form__status { font-size: 14px; color: var(--ivy); min-height: 1.4em; }
.form__status.is-error { color: #8a2f1f; }
.form__status.is-ok { color: #3f6b26; }

.contact__meta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
}
.contact__meta img { width: 40px; height: 40px; border-radius: 50%; filter: grayscale(1); }
.contact__meta a { border-bottom: 1px solid var(--khaki); }

/* ---------- Footer ---------- */
.footer {
  margin-left: var(--sidebar-w);
  padding: 48px var(--pad) 32px;
  border-top: 1px solid var(--khaki);
  overflow: hidden;
  container-type: inline-size;
}
.footer__nav { display: flex; gap: 24px; justify-content: center; font-size: 14px; color: var(--ivy); }
.footer__nav a:hover { color: var(--serpentine); }
.footer__big {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 12.5cqw;
  line-height: .9;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--khaki);
  letter-spacing: .02em;
}
.footer__copy { margin-top: 24px; font-size: 12px; color: var(--ivy); }

/* ---------- Line masks for heading reveals ---------- */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: .09em;
  margin-bottom: -.09em;
}
.line__inner { display: block; will-change: transform; }

/* ---------- Reveal (initial state; GSAP animates in) ---------- */
[data-reveal] { opacity: 0; transform: translateY(44px); }
.no-motion [data-reveal] { opacity: 1; transform: none; }
[data-hero] { opacity: 0; transform: translateY(32px); }
.no-motion [data-hero] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .topbar { display: flex; }
  .topbar .langswitch { display: inline-flex; }
  .topbar .langswitch button { padding: 6px 10px; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    width: min(320px, 85vw);
    box-shadow: 0 0 60px rgba(0,0,0,.15);
  }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar__scrim {
    display: block;
    position: fixed; inset: 0;
    background: rgba(40,49,6,.35);
    opacity: 0; pointer-events: none;
    transition: opacity .35s;
    z-index: 45;
  }
  .sidebar__scrim.is-open { opacity: 1; pointer-events: auto; }
  .content, .footer { margin-left: 0; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }
  .hero__visual { order: -1; place-items: center; }
  .hero__media { width: min(80vw, 380px); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .card--featured { grid-template-columns: 1fr; gap: 20px; }
  .card--featured h3 { font-size: 32px; }
  .why { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .group summary {
    grid-template-columns: 30px 1fr 20px;
    padding: 18px 18px;
    gap: 10px;
  }
  .group__count { display: none; }
  .group__title { font-size: 19px; }
  .group__icon { width: 14px; height: 14px; }
  .group__icon::before { width: 13px; }
  .group__icon::after { height: 13px; }
  .group__body .chips { padding: 0 18px 20px; gap: 5px; }
  .chips--lg li { font-size: 12px; padding: 6px 11px; }

  .services__grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 8px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(56px, 18vw, 96px); }
  .footer__nav { flex-wrap: wrap; gap: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .dot { animation: none; }
}

/* ---------- Bulgarian ----------
   Bebas Neue has no Cyrillic, so BG swaps in Oswald. Bebas is caps-only and the
   display rules rely on that; Oswald has lowercase, hence the explicit casing. */
html[lang="bg"] {
  --font-display: "Oswald", "Arial Narrow", "Impact", sans-serif;
}
html[lang="bg"] .topbar__name,
html[lang="bg"] .sidebar__name,
html[lang="bg"] .hero__title,
html[lang="bg"] .section__title,
html[lang="bg"] .card h3,
html[lang="bg"] .timeline__item h3,
html[lang="bg"] .timeline__num,
html[lang="bg"] .why__cta h2,
html[lang="bg"] .footer__big,
html[lang="bg"] .group__title {
  text-transform: uppercase;
  letter-spacing: 0;
}
/* Oswald sets wider than Bebas, so the sizes are tuned to make the Cyrillic
   fill the same share of its box as the Latin does */
html[lang="bg"] .hero__title { font-size: clamp(50px, 6.9vw, 98px); }
html[lang="bg"] .sidebar__name { font-size: 26px; }
html[lang="bg"] .footer__big { font-size: 10.9cqw; }
html[lang="bg"] .card h3 { font-size: 26px; }
html[lang="bg"] .card--featured h3 { font-size: 32px; }
html[lang="bg"] .timeline__item h3 { font-size: 30px; }

@media (max-width: 640px) {
  html[lang="bg"] .hero__title { font-size: clamp(42px, 13.8vw, 76px); }
}
