/* ==========================================================================
   Bengala Investment — main stylesheet
   Breakpoints mirror the original Tilda grid: 1200 / 960 / 640 / 480
   ========================================================================== */

/* Font: Literata (Google Fonts) — the closest free match to the original Kazimir Text
   (avg. text width within 1%, same x-height and cap height). Only upright styles are loaded:
   like the original Tilda site, italics are synthesized by the browser as an oblique. */

:root {
  --navy: #1a1f4e;
  --red: #ee1a2e;
  --bg: #f6f6f6;
  --gray: #ebebeb;
  --white: #fff;

  --font: "Literata", Georgia, "Times New Roman", serif;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 80px;

  --shadow-card: 0 4px 10px rgba(26, 31, 78, .1);
  --shadow-soft: 0 1px 12px rgba(26, 31, 78, .1);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

strong { font-weight: 500; }
.light { font-weight: 300; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
/* Same content widths as the Tilda grid at each breakpoint */
@media (max-width: 1199px) { .container { --container: 940px; } }
@media (max-width: 959px)  { .container { --container: 620px; --gutter: 10px; } }
@media (max-width: 639px)  { .container { --container: 460px; } }
@media (max-width: 479px)  { .container { --container: 300px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */

.h1 {
  font-size: 70px;
  line-height: 1.2;
  font-weight: 400;
}
.h1--medium { font-weight: 500; }

.h2 {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 500;
}

.lead {
  font-size: 28px;
  line-height: 1.2;
}

.num {
  display: block;
  font-size: 80px;
  line-height: 1.2;
  font-weight: 200;
  color: var(--red);
}

@media (max-width: 1199px) {
  .h1 { font-size: 50px; }
  .h2 { font-size: 34px; }
  .lead { font-size: 24px; }
  .num { font-size: 60px; }
}
@media (max-width: 959px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 30px; }
}
@media (max-width: 639px) {
  .lead { font-size: 18px; }
}
@media (max-width: 479px) {
  .hero__title { font-size: 32px; }
}

/* Red dot — the brand "full stop" after headings */
.dot {
  --size: 29px;
  display: inline-block;
  width: var(--size);
  height: var(--size);
  margin-left: .12em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 2px rgba(26, 31, 78, .4);
  vertical-align: middle;
  position: relative;
  top: -.04em;
}
.h1 .dot { --size: .415em; }
.h2 .dot { --size: .58em; }
.dot--navy { background: var(--navy); }

/* ---------- Reveal animations (enabled only with JS) ---------- */

.js .reveal {
  opacity: 0;
  transition: opacity 1s ease var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; }
.js .reveal--slow { transition-duration: 2s; }

.js .dot--slide {
  opacity: 0;
  transform: translateX(-64px);
}
.js .dot--slide.is-visible {
  animation: dot-slide .8s ease-in-out 1s forwards;
}
@keyframes dot-slide {
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 246, 246, .5);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: block; flex-shrink: 0; }
.logo img { width: 140px; }

.nav { display: flex; align-items: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  position: relative;
  display: inline-block;
  font-size: 16px;
  line-height: 1.45;
  transition: opacity .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--red);
  opacity: 0;
  transition: opacity .2s ease;
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { opacity: 1; }
.nav__link[aria-current="page"] { opacity: .7; }

.lang {
  display: flex;
  gap: 20px;
  margin-left: 40px;
}
.lang a {
  font-size: 16px;
  line-height: 1.45;
  transition: color .2s ease;
}
.lang a:hover { color: var(--red); }

/* Burger + mobile panel */
.burger {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 70;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform .25s ease-in-out, opacity .25s ease-in-out, top .25s ease-in-out;
}
.burger span:nth-child(1) { top: 1px; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 17px; }
.is-menu-open .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.is-menu-open .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.menu-overlay { display: none; }

@media (max-width: 980px) {
  .site-header {
    position: relative;
    height: 92px;
    background: var(--bg);
  }
  .logo img { width: 100px; }

  .burger { display: block; }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 60;
    width: min(300px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 40px 40px;
    background: var(--bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    overflow-y: auto;
  }
  .is-menu-open .nav {
    transform: none;
    visibility: visible;
    transition: transform .3s ease;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .nav__link { font-size: 20px; }

  .lang { margin: 40px 0 0; }

  .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .is-menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: var(--bg);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 300;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 40px;
  min-height: 60px;
  padding-block: 20px;
}

.site-footer p,
.site-footer address { white-space: nowrap; font-style: normal; }

.site-footer a:hover { text-decoration: underline; }

@media (max-width: 1199px) {
  .site-footer { font-size: 12px; }
  .site-footer__inner { gap: 8px 24px; }
}
@media (max-width: 959px) {
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 30px;
    padding-block: 22px;
  }
  .site-footer__email,
  .site-footer__copy { text-align: right; }
}
@media (max-width: 639px) {
  .site-footer { font-size: 13px; line-height: 1.4; }
  .site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 28px 24px;
  }
  .site-footer__email,
  .site-footer__copy { text-align: left; }
  .site-footer__phone a { display: block; }
  .site-footer__sep { display: none; }
  .site-footer__copy {
    align-self: stretch;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(246, 246, 246, .15);
    opacity: .7;
  }
}

/* ==========================================================================
   Cookie notice
   ========================================================================== */

.cookie {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 45; /* below the header, so the open mobile menu covers it */
  display: flex;
  align-items: center;
  gap: 10px;
  width: 600px;
  max-width: calc(100% - 40px);
  padding: 15px 25px;
  border-radius: 5px;
  background: var(--gray);
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}
.cookie[hidden] { display: none; }

.cookie__text {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  color: #000;
}

.cookie__btn {
  flex-shrink: 0;
  padding: 4px 20px;
  border: 1px solid #999;
  border-radius: 5px;
  background: var(--gray);
  color: #555;
  font: 500 16px/1.55 var(--font);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cookie__btn:hover {
  background: #e8e8e8;
  color: #111;
  border-color: #111;
}

@media (max-width: 1199px) {
  .cookie__text { font-size: 14px; }
}
@media (max-width: 640px) {
  .cookie {
    right: 0; bottom: 0; left: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: 15px 20px;
  }
  .cookie__text { font-size: 12px; line-height: 1.45; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */

/* Home page: header + hero + footer fill exactly one screen, so the footer is always visible */
.page-home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.page-home main { flex: 1; display: flex; flex-direction: column; }
.page-home .hero { flex: 1; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(rgba(246, 246, 246, .6), rgba(246, 246, 246, .5)),
    url("../img/hero.jpg") right top / cover no-repeat fixed;
}

.hero__content { padding-block: 40px; }

.hero__title strong { font-weight: 500; }

.hero__sub {
  max-width: 371px;
  margin: 50px 0 0 370px;
}

/* Big red circle that collapses into the full stop after "startups" */
.hero__dot {
  display: inline-block;
  width: .48em;
  height: .48em;
  margin-left: .12em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 2px rgba(26, 31, 78, .4);
  vertical-align: middle;
}
.js .hero__dot {
  opacity: 0;
  transform: scale(20);
}
.js .hero__dot.is-visible {
  animation: hero-dot 1.4s ease-in-out forwards;
}
@keyframes hero-dot {
  0%   { opacity: 0; transform: scale(20); }
  57%  { opacity: 1; transform: scale(1); }
  78%  { opacity: 1; transform: scale(1.6); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1199px) {
  .hero {
    background-attachment: scroll;
    background-position: left top;
  }
  .hero__sub { max-width: 381px; margin-left: 240px; }
}
@media (max-width: 959px) {
  .hero__sub { margin: 40px 0 0 160px; }
}
@media (max-width: 639px) {
  .hero { min-height: 420px; }
  .hero__sub { max-width: 241px; margin-left: 80px; }
}
@media (max-width: 479px) {
  .hero { background-position: center top; }
  .hero__sub { max-width: 221px; margin: 30px 0 0 70px; }
}

/* ==========================================================================
   Generic page sections
   ========================================================================== */

.section { padding-block: 270px 200px; }

.section--navy {
  background: var(--navy);
  color: var(--bg);
}

@media (max-width: 1199px) {
  .section { padding-block: 200px 150px; }
}
@media (max-width: 959px) {
  .section { padding-block: 120px 100px; }
}
@media (max-width: 639px) {
  .section { padding-block: 80px 80px; }
}

/* Numbered columns (philosophy "Our approach", about "Our activity") */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 42px;
}
.steps__text { margin-top: -3px; }

@media (max-width: 959px) {
  .steps { grid-template-columns: 1fr; max-width: 480px; }
}

/* ==========================================================================
   Philosophy
   ========================================================================== */

.sectors {
  display: grid;
  grid-template-columns: 538px 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 59px 0;
  margin-top: 95px;
}

.sector {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sector img { width: 48px; flex-shrink: 0; }
.sector .lead { line-height: 1.25; }

.approach { padding-block: 141px 240px; }
.approach .steps { margin-top: 86px; }

@media (max-width: 1199px) {
  .sectors { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .approach { padding-block: 110px 160px; }
  .approach .steps { margin-top: 60px; }
}
@media (max-width: 639px) {
  .sectors { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 30px; margin-top: 60px; }
  .sector img { width: 40px; }
  .approach { padding-block: 80px 100px; }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.portfolio { padding-block: 267px 142px; }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 79px;
}

.company {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.company__logo {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  background: var(--white);
}
.company__logo img {
  grid-area: 1 / 1;
  width: var(--w, 160px);
  transition: opacity 1s ease;
}
.company:hover .company__logo img + img,
.company:focus-visible .company__logo img + img { opacity: 0; }

.company__body { padding: 32px 33px 40px; }

.company__name {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}
.company__name em { font-weight: 300; }

.company__line {
  display: block;
  width: 162px;
  height: 4px;
  margin: 24px 0 28px;
  background: var(--red);
}

.company__text {
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .portfolio { padding-block: 200px 120px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .company__logo { height: 220px; }
}
@media (max-width: 959px) {
  .portfolio { padding-block: 120px 100px; }
  .portfolio__grid { gap: 30px; margin-top: 50px; }
  .company__logo { height: 160px; }
  .company__logo img { width: calc(var(--w, 160px) * .85); }
  .company__body { padding: 26px 24px 32px; }
  .company__name { font-size: 22px; }
  .company__text { font-size: 16px; }
}
@media (max-width: 639px) {
  .portfolio { padding-block: 80px 80px; }
  .portfolio__grid { grid-template-columns: 1fr; max-width: 360px; }
  .company { min-height: 0; }
  .company__name { font-size: 20px; }
  .company__text { font-size: 14px; }
}

/* ==========================================================================
   About (team page)
   ========================================================================== */

.activity { padding-block: 232px 110px; }
.activity .steps {
  grid-template-columns: repeat(3, 298px);
  column-gap: 62px;
  margin-top: 71px;
}

.projects-map {
  position: relative;
  margin-top: 18px;
}
.projects-map > img { width: 941px; }

.projects-map__box {
  position: absolute;
  top: 111px;
  left: 685px;
  width: 418px;
  min-height: 205px;
  padding: 37px 35px;
  background: var(--red);
  color: var(--bg);
}
.projects-map__title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
}
.projects-map__text {
  margin-top: 24px;
  font-size: 21px;
  line-height: 1.45;
}

.team { padding-block: 0 145px; }
.team__list {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}

.member {
  display: flex;
  min-height: 330px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
}

.member__photo {
  flex: 0 0 330px;
  height: 330px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray);
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.member__photo:hover img { transform: scale(1.03); }

.member__body { padding: 26px 40px 30px 50px; }

.member__name {
  font-size: 42px;
  line-height: 1.55;
  font-weight: 500;
}
.member__name a:hover { color: var(--red); }

.member__role {
  font-size: 28px;
  line-height: 1.6;
  margin-top: -6px;
}

.member__line {
  display: block;
  width: 242px;
  height: 4px;
  margin: 6px 0 57px;
  background: var(--red);
}

.bio {
  font-size: 18px;
  line-height: 1.4;
}
.bio__label { font-size: inherit; line-height: inherit; font-weight: 500; font-style: italic; }
.bio p + p,
.bio__label + p { margin-top: 25px; }

@media (max-width: 1199px) {
  .activity { padding-block: 200px 120px; }
  .activity .steps { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .projects-map > img { width: 80%; }
  .projects-map__box { left: auto; right: 0; top: 60px; }
  .member__photo { flex-basis: 280px; height: auto; min-height: 330px; }
  .member__name { font-size: 34px; }
  .member__role { font-size: 24px; }
  .member__line { margin-bottom: 40px; }
}
@media (max-width: 959px) {
  .activity { padding-block: 120px 100px; }
  .activity .steps { grid-template-columns: 1fr; max-width: 480px; margin-top: 50px; }
  .projects-map { margin-top: 60px; }
  .projects-map > img { width: 100%; }
  .projects-map__box { position: relative; top: auto; right: auto; width: auto; max-width: 418px; min-height: 0; margin-top: 30px; }
  .member { flex-direction: column; }
  .member__photo { flex: none; width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; max-width: 330px; }
  .member__body { padding: 30px 30px 36px; }
}
@media (max-width: 639px) {
  .activity { padding-block: 80px 80px; }
  .projects-map__title { font-size: 30px; }
  .projects-map__text { font-size: 18px; }
  .team { padding-bottom: 80px; }
  .team__list { gap: 30px; margin-top: 36px; }
  .member__photo { max-width: none; }
  .member__body { padding: 24px 20px 30px; }
  .member__name { font-size: 24px; line-height: 1.3; }
  .member__role { font-size: 18px; margin-top: 4px; }
  .member__line { width: 160px; margin: 12px 0 30px; }
  .bio { font-size: 14px; }
}

/* ==========================================================================
   Person page
   ========================================================================== */

.person { padding-block: 157px 109px; }

.back { display: inline-block; width: 50px; transition: transform .2s ease; }
.back:hover { transform: translateX(-6px); }

.person__title { margin-top: 113px; }
.person__title strong { font-weight: 500; }

.person__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 58px;
  margin-top: 111px;
}

.person__photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }

.person__info { max-width: 750px; margin-top: -6px; }

.person__role {
  display: inline-block;
  font-size: 28px;
  line-height: 1.6;
  box-shadow: inset 0 -4px 0 var(--red);
}

.person__info .bio { margin-top: 68px; }
.person__info .bio + .bio { margin-top: 40px; }

.quote-banner {
  margin: 69px -21px 0;
  padding: 62px 81px 57px;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  color: var(--bg);
}
.quote-banner p {
  max-width: 951px;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .person { padding-block: 140px 90px; }
  .person__title { margin-top: 70px; }
  .person__grid { grid-template-columns: 240px 1fr; gap: 40px; margin-top: 70px; }
  .person__photo { width: 240px; height: 240px; }
  .quote-banner { margin-inline: 0; padding: 50px 60px; }
  .quote-banner p { font-size: 38px; }
}
@media (max-width: 959px) {
  .person { padding-block: 60px 80px; }
  .person__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 50px; }
  .person__photo { width: 220px; height: 220px; }
  .person__role { font-size: 24px; }
  .person__info .bio { margin-top: 40px; }
  .quote-banner { padding: 40px; }
  .quote-banner p { font-size: 30px; }
}
@media (max-width: 639px) {
  .back { width: 40px; }
  .person__title { margin-top: 40px; }
  .person__photo { width: 200px; height: 200px; }
  .person__role { font-size: 18px; }
  .bio { font-size: 14px; }
  .quote-banner { margin-top: 50px; padding: 30px 24px; }
  .quote-banner p { font-size: 22px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px var(--gutter);
  background:
    linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)),
    url("../img/contact.jpg") center / cover no-repeat;
}

.contact__card {
  width: 560px;
  max-width: 100%;
  padding: 83px 40px 80px;
  background: var(--white);
  color: #000;
  text-align: center;
}

.contact__title {
  font-size: 42px;
  line-height: 1.23;
  font-weight: 500;
}

.contact__text {
  margin-top: 49px;
  font-size: 20px;
  line-height: 1.55;
  font-style: normal;
}
.contact__text p + p { margin-top: 31px; }
.contact__text a:hover { color: var(--red); }

@media (max-width: 1199px) {
  .contact__title { font-size: 38px; }
  .contact__text { font-size: 18px; }
}
@media (max-width: 980px) {
  .contact { padding-block: 40px; }
}
@media (max-width: 640px) {
  .contact__card { padding: 60px 24px; }
  .contact__title { font-size: 30px; }
  .contact__text { font-size: 16px; line-height: 1.45; }
}

/* ==========================================================================
   Phones (≤479px) — geometry measured from the original at 375px
   ========================================================================== */

@media (max-width: 479px) {
  /* Home: fits one screen even on small phones (375×667) */
  .hero { min-height: 380px; }
  .hero__content { padding-block: 24px; }
  .hero__title { max-width: 291px; }
  .hero__sub { max-width: 240px; margin: 28px 0 0 60px; }

  /* Philosophy */
  .section { padding-block: 75px 61px; }
  .sectors { gap: 42px; margin-top: 39px; }
  .sector { gap: 5px; }
  .sector img { width: 32px; margin-left: -7px; }
  .sector .lead { max-width: 205px; }
  .approach { padding-block: 92px 109px; }
  .approach .steps { gap: 51px; margin-top: 31px; }

  /* Portfolio */
  .portfolio { padding-block: 61px 64px; }
  .portfolio .h1 { max-width: 211px; }
  .portfolio__grid { gap: 21px; margin-top: 22px; max-width: none; }
  .company { min-height: 320px; }
  .company__logo { height: 158px; }
  .company__logo img { width: calc(var(--w, 160px) * .95); }
  .company__body { padding: 29px 10px 16px 26px; }
  .company__line { width: 80px; height: 2px; margin: 17px 0; }

  /* About: activity + map */
  .activity { padding-block: 65px 50px; }
  .activity .steps { gap: 29px; margin-top: 28px; }
  .projects-map { margin-top: 17px; }
  .projects-map > img { width: 431px; max-width: none; }
  .projects-map__box {
    max-width: none;
    margin: 20px calc(50% - 50vw) 0;
    padding: 25px calc(50vw - 150px) 35px;
  }
  .projects-map__text { margin-top: 15px; line-height: 1.39; }

  /* About: team */
  .team { padding-block: 43px 50px; }
  .team .h2 { font-size: 30px; }
  .team__list { gap: 23px; margin-top: 25px; }
  .member__photo { aspect-ratio: auto; height: 245px; }
  .member__body { padding: 21px 20px 36px; }
  .member__name { line-height: 1.2; }
  .member__role { margin-top: 9px; line-height: 1.6; }
  .member__line { width: 154px; height: 2px; margin: 5px 0 34px; }

  /* Person */
  .person { padding-block: 30px 57px; }
  .back { width: 32px; }
  .person__title { margin-top: 13px; }
  .person__grid { gap: 9px; margin-top: 71px; }
  .person__photo { width: 280px; height: 280px; margin-inline: auto; }
  .person__info { margin-top: 0; }
  .person__role { box-shadow: none; line-height: 1.6; }
  .person__role::after { content: ""; display: block; width: 80px; height: 2px; margin-top: 5px; background: var(--red); }
  .person__info .bio { margin-top: 46px; }
  .person__info .bio + .bio { margin-top: 42px; }
  .quote-banner { margin-top: 60px; padding: 20px 28px 39px; }
  .quote-banner p { line-height: 1.18; }

  /* Contact */
  .contact { padding: 40px 20px; }
  .contact__card { width: 100%; padding: 30px 20px 35px; }
  .contact__text { margin-top: 30px; }
  .contact__text p + p { margin-top: 23px; }
}

/* ==========================================================================
   404
   ========================================================================== */

.not-found__title { margin-top: 80px; }
.not-found__links { margin-top: 40px; }
.not-found__links a { box-shadow: inset 0 -2px 0 var(--red); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal,
  .js .dot--slide,
  .js .hero__dot { opacity: 1; transform: none; }
}
