/*
Theme Name: Baptista & Tomaz Arquitectos
Theme URI: https://blisq.pt
Author: Blisq Creative
Author URI: https://blisq.pt
Description: Tema WordPress do website Baptista & Tomaz Arquitectos, desenvolvido pela Blisq Creative.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, translation-ready
Text Domain: blisq
*/

:root {
	--blisq-color-background: #fff;
	--blisq-color-border: #dcdcde;
	--blisq-color-error: #b32d2e;
	--blisq-color-text: #191919;
	--blisq-content-width: 48rem;
	--blisq-wide-width: 80rem;
	--blisq-space: 1.5rem;
}

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

html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background: var(--blisq-color-background);
	color: var(--blisq-color-text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	cursor: pointer;
}

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

a {
	color: inherit;
}

.site-header,
.site-main,
.site-footer {
	margin-inline: auto;
	max-width: var(--blisq-wide-width);
	padding: var(--blisq-space);
	width: 100%;
}

.site-header,
.site-footer-legal,
.menu {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-header,
.site-footer-legal {
	justify-content: space-between;
}
.post-type-archive-project .site-header{
	background: var(--soft);
}
.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-main {
	min-height: 60vh;
}

.site-main > * {
	margin-inline: auto;
	max-width: var(--blisq-content-width);
}

.site-main > .alignwide,
.site-main > .wp-block-group.alignwide,
.site-main > .wp-block-cover.alignwide {
	max-width: var(--blisq-wide-width);
}

.site-main > .alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: none;
	width: 100vw;
}

.entry-content > * + *,
.site-main > * + * {
	margin-block-start: var(--blisq-space);
}

.entry-thumbnail {
	margin-block: var(--blisq-space);
}

.entry-thumbnail img {
	width: 100%;
}

.navigation.pagination,
.post-navigation,
.comments-area {
	margin-block-start: calc(var(--blisq-space) * 2);
}

.blisq-table-wrapper {
	overflow-x: auto;
}

.blisq-table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

.blisq-table caption {
	font-weight: 700;
	padding-block-end: 0.5rem;
	text-align: start;
}

.blisq-table td,
.blisq-table th {
	border: 1px solid var(--blisq-color-border);
	padding: 0.6rem 0.75rem;
	text-align: start;
}

.blisq-table.is-striped tbody tr:nth-child(even) {
	background: #f6f7f7;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-break: normal !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f6f7f7;
	clip-path: none;
	color: #1d2327;
	display: block;
	font-size: 1rem;
	font-weight: 600;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

:root {
  --black: #010101;
  --dark-grey: #575757;
  --grey: #9b9b9b;
  --soft: #fdfdfd;/*f4f4f4*/
  --white: #ffffff;
  --gutter: 40px;
  --grid-gap: 20px;
  --font-display: 'Red Hat Display', Arial, sans-serif;
  --admin-bar-offset: 0px;
}

body.admin-bar {
  --admin-bar-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-offset: 46px;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  color: var(--black);
  background: var(--white);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--black);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* WordPress menu and template normalization. */
.site-header,
.site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.site-footer {
  padding: 0;
}

.desktop-nav .menu,
.mobile-menu__nav .menu,
.legal-nav .menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .menu {
  gap: 30px;
}

.mobile-menu__nav .menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.legal-nav .menu {
  gap: 10px;
}

.project-card__static {
  display: block;
  overflow: hidden;
}

.project-description > :first-child,
.team-card__bio > :first-child {
  margin-top: 0;
}

.project-description > :last-child,
.team-card__bio > :last-child {
  margin-bottom: 0;
}
.project-description p{
	margin-bottom: 15px;
}

.similar-projects__grid {
  margin-bottom: 80px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px var(--gutter) 0;
}

.site-header_bgGrey {
  background: var(--soft);
}

.site-header--hero {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  padding: 80px;
}

.brand {
  position: relative;
  width: 100%;
  max-width: 294px;
  aspect-ratio: 294 / 25;
  flex: 0 0 auto;
}

.brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand__light {
  display: none;
}

.site-header--hero .brand__dark {
  display: none;
}

.site-header--hero .brand__light {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--dark-grey);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.site-header--hero .desktop-nav {
  color: var(--white);
}

.page-home .site-header:not(.site-header--hero) .desktop-nav {
  color: var(--grey);
}

.page-home .site-header:not(.site-header--hero) .menu-button {
  color: var(--grey);
}

.desktop-nav a:hover {
  opacity: .55;
}

.menu-button {
  display: none;
  position: relative;
  width: 32px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 4px;
  width: 24px;
  border-top: 1px solid currentColor;
}

.menu-button span:first-child {
  top: 10px;
}

.menu-button span:nth-child(2) {
  top: 15px;
}

.menu-button span:last-child {
  top: 20px;
}

.menu-close {
  position: relative;
  width: 32px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  left: 4px;
  top: 15px;
  width: 24px;
  border-top: 1px solid white;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

/*=============================================
  HERO SECTION
=============================================*/
.home-page {
  padding: 40px var(--gutter) 0;
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 80px);
  overflow: hidden;
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(1, 1, 1, 0.51) 0%, rgba(1, 1, 1, 0.00) 24.66%),
    linear-gradient(0deg, rgba(1, 1, 1, 0.14) 0%, rgba(1, 1, 1, 0.14) 100%);
  pointer-events: none;
}

.home-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.home-hero img.is-active {
  opacity: 1;
}

/*=============================================
  PROJECT SECTION
=============================================*/
.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 60px var(--grid-gap);
}

.project-grid--home {
  padding-top: 120px;
}

.home-page--no-hero {
  padding-inline: var(--gutter);
}

.home-page--no-hero .project-grid--home {
  padding-top: 80px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: all .2s;
}

.project-card a:hover img {
  transform: scale(1.05);
}

.project-card a {
  display: block;
  overflow: hidden;
}

.project-card a:hover .project-card__copy::after {
  opacity: 1;
}

.project-card__copy {
  position: relative;
  z-index: 1;
  padding-bottom: 16px;
  background: var(--white);
  color: var(--black);
}

.project-card__copy::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  aspect-ratio: 1;
  background-image: url(assets/icons/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transition: all .2s;
}

.project-card h2,
.project-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
}

.project-card h2 {
  font-weight: 800;
}

.project-card p {
  font-weight: 400;
}

.project-card a:hover img {
  filter: brightness(.94);
}

/*=============================================
  FOOTER
=============================================*/
.site-footer {
  margin-top: 120px;
  position: relative;
}

.site-footer__top {
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer__intro {

}

.site-footer__intro>p {
  margin: 0 0 18px;
  color: var(--Black);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  max-width: 598px;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.legal-nav i,
.legal-nav > .link-button + a::before,
.legal-nav > .link-button + .menu::before,
.legal-nav .menu li + li::before {
  content: '';
  flex: 0 0 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--grey);
}

.legal-nav > .link-button + a,
.legal-nav .menu li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.link-button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.site-footer__social {
  display: flex;
  gap: 34px;
  color: var(--grey);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}

.site-footer__social a:hover,
.legal-nav a:hover,
.link-button:hover {
  color: var(--black);
}

.site-footer__brand {
  padding: 19% var(--gutter) 0;
  position: relative;
}

.site-footer__credit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  z-index: 5;
  pointer-events: auto;
}

.site-footer__wordmark {
  width: 100%;
  margin-bottom: -4.932%;
  position: relative;
  z-index: 1;
}

.site-footer__credit a {
  display: inline-flex;
  pointer-events: auto;
}

.site-footer__credit img {
  width: 37px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.site-footer__credit a:hover img {
  transform: scale(1.2);
}

.site-footer__funding {
  background: var(--black);
  padding: 30px 40px;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.site-footer__funding img {
  width: 100%;
  max-width: 310px;
  height: auto;
}

.site-footer__funding a {
  display: block;
  max-width: 310px;
}

/*=============================================
  MOBILE MENU
=============================================*/
.mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow: hidden;
  color: white;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px 0;
}

.brand--menu {
  width: 270px;
}

.menu-close {
  position: relative;
  width: 32px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  top: 15px;
  background: white;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin-top: 150px;
  font-size: 54px;
  font-weight: 300;
  line-height: 1.08;
  gap: 10px;
  padding-inline: 20px;
}

.mobile-menu__social {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  color: var(--grey);
  font-size: 16px;
  font-weight: 600;
  flex-direction: column;
}

.mobile-menu__social::after {
  content: '';
  position: relative;
  aspect-ratio: 248 / 95;
  background: url(assets/icons/logoBgMenuMobile.svg) center bottom / cover no-repeat;
  pointer-events: none;
}

.mobile-menu__socialBg {
  display: grid;
  grid-template-columns: min-content min-content min-content;
  column-gap: 15px;
  padding-top: 20px;
  padding-inline: 20px;
}

.page-gutter {
  padding-inline: var(--gutter);
}

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

.page-hero {
  padding: 130px var(--gutter) 60px;
  margin-bottom: 100px;
}

.page-hero--soft {
  background: var(--soft);
}

.page-hero h1,
.about-intro h1,
.contacts-intro h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
}

.project-grid--portfolio {
  padding-top: 0;
}

.logo-intro {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  background: white;
  transform: translateY(0);
  transition: transform .85s cubic-bezier(.76, 0, .24, 1);
}

.logo-intro img {
  width: 70px;
}

.logo-intro.is-dismissed {
  transform: translateY(-110%);
  pointer-events: none;
}

.project-page {
  padding-top: 90px;
}

.project-hero {
  margin: 0 auto;
  overflow: hidden;
  width: min(1612px, calc(100% - 308px));
  aspect-ratio: 1612 / 740;
}

.project-hero__media {
  height: 100%;
  width: 147%;
  margin-left: -23.5%;
  transition: width .95s cubic-bezier(.76, 0, .24, 1), margin .95s cubic-bezier(.76, 0, .24, 1);
}

.project-hero.is-settled .project-hero__media {
  width: 100%;
  margin-left: 0;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-overview {
  width: min(1612px, calc(100% - 308px));
  margin: 28px auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 35px 60px;
}

.project-overview h1 {
  margin: 0 0 2px;
  font-size: 26px;
  font-style: normal;
  font-weight: 800;
  line-height: 140%;
}

.project-overview__identity p {
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.project-year {
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 170%;
  justify-self: end;
}

.project-description {
  margin: 0;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  color: var(--Dark_Grey, #575757);
  max-width: 790px;
}

.project-categories {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  gap: 6px;
  color: var(--dark-grey);
  list-style: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.project-process {
  padding: 0;
  background: var(--soft);
}

.project-tabs {
  position: sticky;
  top: var(--admin-bar-offset);
  z-index: 10;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 20px max(154px, calc((100vw - 1612px) / 2));
  background: var(--soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.project-tabs::-webkit-scrollbar {
  display: none;
}

.project-tabs a {
  flex: 0 0 auto;
  padding: 0 0 4px;
  border-bottom: 3px solid transparent;
  color: var(--grey);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s;
}

.project-tabs a[aria-current="location"] {
  border-color: var(--black);
  color: var(--black);
  font-weight: 700;
}

.process-sections {
  display: block;
}

.process-section {
  padding: 60px max(154px, calc((100vw - 1612px) / 2));
}

.process-section:last-child {
  border-bottom: 0;
}

.process-section__title {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 600;
}

.process-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.process-image {
  margin: 0;
  background: white;
  overflow: hidden;
}

.process-image img {
  width: 100%;
  aspect-ratio: 523 / 392;
  object-fit: cover;
}

.process-image__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.process-image__button img {
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.process-image__button:hover img,
.process-image__button:focus-visible img {
  transform: scale(1.025);
  opacity: 0.88;
}

.process-image__button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 96px 54px;
  background: #fff;
  color: var(--black);
}

.project-lightbox.is-open {
  display: flex;
}

.project-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  touch-action: pan-y;
  user-select: none;
}

.project-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
}

.project-lightbox__counter {
  margin-top: 20px;
  color: #9b9b9b;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.project-lightbox__close,
.project-lightbox__nav {
  position: absolute;
  z-index: 1;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.project-lightbox__close {
  top: 30px;
  right: 38px;
  width: 34px;
  height: 34px;
}

.project-lightbox__close span::before,
.project-lightbox__close span::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 4px;
  width: 26px;
  height: 1px;
  background: currentColor;
}

.project-lightbox__close span::before { transform: rotate(45deg); }
.project-lightbox__close span::after { transform: rotate(-45deg); }

.project-lightbox__nav {
  top: 50%;
  width: 42px;
  height: 62px;
  transform: translateY(-50%);
}

.project-lightbox__nav--previous { left: 24px; }
.project-lightbox__nav--next { right: 24px; }

.project-lightbox__nav span::before {
  content: '';
  position: absolute;
  top: 21px;
  width: 18px;
  height: 18px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.project-lightbox__nav--previous span::before {
  left: 14px;
  transform: rotate(-45deg);
}

.project-lightbox__nav--next span::before {
  right: 14px;
  transform: rotate(135deg);
}

.project-lightbox__close:hover,
.project-lightbox__close:focus-visible,
.project-lightbox__nav:hover,
.project-lightbox__nav:focus-visible {
  color: #9b9b9b;
  outline: none;
}

@media (max-width: 700px) {
  .project-lightbox {
    padding: 60px 16px 42px;
  }

  .project-lightbox__image {
    max-height: calc(100vh - 125px);
  }

  .project-lightbox__close {
    top: 16px;
    right: 16px;
  }

  .project-lightbox__nav {
    top: auto;
    bottom: 10px;
    transform: none;
  }

  .project-lightbox__nav--previous { left: 14px; }
  .project-lightbox__nav--next { right: 14px; }

  .project-lightbox__counter {
    margin-top: 14px;
  }
}

.similar-projects {
  padding: 112px var(--gutter) 120px;
  border-bottom: 1px solid #d8d8d8;
}

.similar-projects_content {
  margin-left: auto;
  margin-right: 16.5%;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  width: 100%;
}

.similar-projects_content>h2 {
  width: 100%;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--grey);
  font-size: 50px;
  font-weight: 300;
  line-height: 1.1;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  color: var(--Black, #010101);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

.about-intro {
  padding-top: 100px;
}

.about-intro__copy {
  display: grid;
  grid-template-columns: minmax(0, 32%) 1fr;
  gap: 18.9%;
  margin-top: 70px;
}

.about-intro__copy--two-texts {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(180px, .85fr);
  gap: clamp(30px, 5vw, 96px);
}

.about-intro_content > p {
  color: var(--Black, #010101);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  margin-bottom: 15px;
}

.recognitions {
  max-width: 377px;
  margin: 0;
  display: grid;
  gap: 40px;
}

.recognition {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: start;
}

.recognition img {
  width: 51px;
  aspect-ratio: 1;
  object-fit: contain;
}

.recognition p {
  margin: 0;
  color: var(--Black, #010101);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 139%;
}

.recognition strong {
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  margin-top: 12.599%;
}

.team-card img {
  max-width: 170px;
  width: 100%;
  aspect-ratio: 83/104;
  object-fit: cover;
  object-position: center top;
}

.team-card__copy {
  padding-top: 50px;
}

.team-card h2 {
  color: var(--Black, #010101);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
}

.team-card__role {
  margin: 0 0 20px;
  color: var(--Black, #010101);
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
}

.team-card__bio {
  margin: 0;
  color: var(--Black, #010101);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.team-photo {
  margin: 120px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts-page {
  padding-top: 100px;
}

.contacts-intro {
  display: grid;
  grid-template-columns: 43.9% 1fr;
  gap: 50px;
}

.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 132px));
  gap: 70px;
}

.offices address {
  color: var(--black);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.contact-links {
  margin-top: 13.37%;
  margin-inline: calc(var(--gutter) * -1);
  border-top: 1px solid #d8d8d8;
}

.contact-row {
  display: grid;
  grid-template-columns: 43.9% 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 20px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid #d8d8d8;
}

.contact-row:last-of-type {
  border-bottom: none;
}

.contact-row__inner {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.contact-row__inner strong {
  font-size: 14px;
}

.contact-row__inner a {
  display: block;
  color: var(--grey);
  font-size: clamp(22px, 3.35vw, 27px);
  font-weight: 300;
  line-height: 1.1;
  text-align: right;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color .25s ease, text-decoration-color .25s ease;
  overflow-wrap: anywhere;
}

.contact-row__inner a:hover,
.contact-row__inner a:focus-visible {
  color: var(--black);
  text-decoration-color: currentColor;
}

.phone small {
  display: block;
  margin-top: 4px;
  color: #818181;
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.16px;
  text-align: right;
}

/*=============================================
  COMMON PAGES
=============================================*/
.privacy-page {
  padding-top: 100px;
}

.privacy-page>h1 {
  max-width: 910px;
  margin: 0 auto 40px;
  color: var(--Grey, #9B9B9B);
  font-size: 50px;
  font-style: normal;
  font-weight: 300;
  line-height: 110%;
}

.legal-content {
  max-width: 910px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
  counter-reset: section;
}

.legal-content h2 {
  margin: 25px 0 15px;
  color: var(--Black, #010101);
  font-family: "Red Hat Display", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
  counter-increment: section;
}

.legal-content h2::before {
  content: counter(section, decimal-leading-zero) ". ";
  color: var(--Grey, #9B9B9B);
  font-family: "Red Hat Display";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 14px 0 8px;
  color: var(--Black, #010101);
  font-family: "Red Hat Display", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%;
}

.legal-content p {
  margin: 0 0 10px;
  color: var(--Dark_Grey, #575757);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}

.legal-content p strong {
  font-weight: 700;
}

.legal-content ul {
  margin: 0 0 10px;
  padding-left: 24px;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  color: var(--Dark_Grey, #575757);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--Dark_Grey, #575757);
}

.legal-content ol {
  list-style: none;
  padding-left: 20px;
  counter-reset: item;
}

.legal-content ol li {
  counter-increment: item;
  margin: 0 0 10px;
  color: var(--Dark_Grey, #575757);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
}

.legal-content ol li::before {
  content: counter(item) ". ";
  font-weight: 700;
}

.legal-content ol ol {
  counter-reset: subitem;
  padding-left: 20px;
}

.legal-content ol ol li {
  counter-increment: subitem;
  font-weight: 400;
}

.legal-content ol ol li::before {
  content: counter(subitem, lower-alpha) ". ";
  font-weight: 400;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: "Montserrat", sans-serif;
}

.legal-content caption {
  caption-side: bottom;
  padding-top: 10px;
  text-align: left;
  color: var(--Dark_Grey, #575757);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.legal-content th {
  padding: 12px;
  color: var(--Grey, #9B9B9B);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-align: left;
  border-bottom: 1px solid var(--Grey, #9B9B9B);
  border-right: 1px solid var(--Grey, #9B9B9B);
  background-color: transparent;
}

.legal-content th:last-child {
  border-right: none;
}

.legal-content td {
  padding: 12px;
  color: var(--Dark_Grey, #575757);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  border-bottom: 1px solid var(--Grey, #9B9B9B);
  border-right: 1px solid var(--Grey, #9B9B9B);
  vertical-align: top;
}

.legal-content td:last-child {
  border-right: none;
}

.legal-content tbody tr:last-child td {
  border-bottom: none;
}

.legal-content code {
  font-family: monospace;
  font-size: 14px;
  color: var(--Black, #010101);
  background-color: #F4F4F4;
  padding: 2px 6px;
  border-radius: 4px;
}

/*=============================================
  404
=============================================*/
.not-found-page {
  margin-top: -65px;
}

.not-found-hero {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: url('assets/images/img_bg404.webp') center 43% / cover no-repeat;
}

.not-found-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 270px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
  pointer-events: none;
}

.not-found-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 667px;
  text-align: center;
  margin: 196px auto 0;
  align-self: start;
}

.not-found-hero__copy>p {
  margin: 0 0 12px;
  color: var(--Grey, #9B9B9B);
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.not-found-hero h1 {
  margin: 0 0 24px;
  color: var(--Grey, #9B9B9B);
  text-align: center;
  font-size: 50px;
  font-style: normal;
  font-weight: 300;
  line-height: 110%;
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 1, 1, .55);
}

.cookie-panel>div {
  width: min(460px, 100%);
  padding: 28px;
  background: white;
}

.cookie-panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.cookie-panel p {
  margin: 0;
  color: var(--dark-grey);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-panel__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.cookie-panel button {
  padding: 8px 14px;
  border: 1px solid var(--black);
  background: white;
  cursor: pointer;
}

.cookie-panel button:last-child {
  color: white;
  background: var(--black);
}

/*=============================================
  RESPONSIVE
=============================================*/
@media (max-width: 900px) and (min-width: 560px) and (max-height: 800px) {
  .mobile-menu__nav {
    margin-top: 60px;
    font-size: 40px;
    gap: 5px;
  }

  .mobile-menu__social {
    margin-top: 30px;
  }
}

@media (max-width: 900px) and (min-width: 560px) and (max-height: 700px) {
  .mobile-menu__social {
    margin-top: 20px;
  }
}

@media (max-width: 900px) and (min-width: 560px) and (max-height: 600px) {
  .mobile-menu__nav {
    margin-top: 20px;
    font-size: 28px;
    gap: 0;
  }

  .mobile-menu__social {
    margin-top: 10px;
  }
}

@media (max-width: 1840px) {
  .contacts-intro {
    grid-template-columns: 38.9% 1fr;
  }

  .contact-row {
    grid-template-columns: 38.9% 1fr;
  }

  .contact-row__inner {
    padding-right: 80px;
  }
}

@media (max-width: 1600px) {
  .contact-row__inner {
    padding-right: 0;
  }
}

@media (max-width: 1440px) {
  .project-grid--home {
    padding-top: 80px;
  }

  .project-card h2,
  .project-card p {
    margin: 0;
    font-size: 14px;
    font-style: normal;
    line-height: 130%;
  }

  .project-card__copy {
    padding-bottom: 12px;
  }

  .project-grid {
    gap: 40px var(--grid-gap);
  }

  .project-card__copy::after {
    width: 45px;
  }

  .site-footer {
    margin-top: 80px;
  }

  .site-footer__intro p {
    max-width: 554px;
  }

  .site-footer__intro>p {
    font-size: 16px;
  }

  .site-footer__social {
    gap: 16px;
    font-size: 16px;
  }

  .site-footer__brand {
    padding: 15% var(--gutter) 0;
  }

  .page-hero {
    margin-bottom: 80px;
  }

  .project-hero {
    width: min(1612px, calc(100% - 200px));
  }

  .project-overview {
    gap: 30px 60px;
    width: min(1612px, calc(100% - 200px));
    grid-template-columns: minmax(0, 1fr) 200px;
  }

  .project-description {
    max-width: 100%;
  }

  .project-tabs {
    padding: 20px calc((100vw - min(1612px, calc(100% - 200px))) / 2);
  }

  .process-section {
    padding: 40px calc((100vw - min(1612px, calc(100% - 200px))) / 2);
  }

  .process-gallery {
    gap: 12px;
  }

  .similar-projects_content {
    margin-right: 10.5%;
  }

  .contact-row__inner {
    gap: 10px 50px;
    padding-right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .contact-row {
    grid-template-columns: 33% 1fr;
  }

  .contacts-intro {
    grid-template-columns: 33% 1fr;
  }

  .contact-links {
    margin-top: 11.765%;
  }

  .about-intro__copy {
    grid-template-columns: minmax(0, 59%) 1fr;
    gap: 8%;
  }

  .about-intro__copy--two-texts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(180px, .75fr);
    gap: 4%;
  }

  .team-grid {
    margin-top: 11.115%;
    row-gap: 40px;
    column-gap: 45px;
  }

  .team-card__copy {
    padding-top: 30px;
  }

  .team-card__role {
    margin: 0 0 12px;
  }

  .team-photo {
    margin: 80px 0 0;
  }

  .privacy-page>h1,
  .legal-content {
    max-width: 670px;
  }

  .legal-content table {
    width: calc(100% + 250px);
    margin-left: -125px;
  }
  .legal-content ul li, .legal-content p, .legal-content th, .legal-content td {
    font-size: 13px;
  }
}

@media (max-width: 1180px) {
	.about-intro__copy--two-texts {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	  gap: clamp(30px, 6vw, 70px);
	}

	.about-intro__copy--two-texts .recognitions {
	  grid-column: 1 / -1;
	  justify-self: end;
	  margin-top: 30px;
	}

  .project-hero,
  .project-overview {
    width: min(1612px, calc(100% - 140px));
  }

  .project-tabs {
    padding: 20px calc((100vw - min(1612px, calc(100% - 140px))) / 2);
  }

  .process-section {
    padding: 40px calc((100vw - min(1612px, calc(100% - 140px))) / 2);
  }
	.project-grid {
	  grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    padding-top: 40px;
  }

  .site-header--hero {
    padding: 60px 40px 0;
  }

  .brand {
    max-width: 270px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header--hero .menu-button {
    color: white;
  }

  .home-hero {
    min-height: calc(100svh - 40px);
  }

  .home-page {
    padding-top: 20px;
  }

  .home-hero img {
    object-position: 54% center;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .project-grid--home {
    padding-top: 60px;
  }

  .home-page--no-hero .project-grid--home {
    padding-top: 40px;
  }

  .project-card__copy {
    padding-bottom: 8px;
  }

  .site-footer {
    margin-top: 60px;
  }


  .legal-nav {
    flex-wrap: wrap;
    white-space: normal;
  }

  .site-footer__social {
    font-size: 14px;
  }

  .site-footer__brand {
    padding-top: 20.163%;
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer__wordmark {
    width: 100%;
    margin-bottom: -3.932%;
  }

  .site-footer__credit {
    padding-right: var(--gutter);
  }

  .site-footer__funding {
    padding: var(--gutter);
  }

  .site-footer__funding img {
    max-width: 266px;
  }

  .mobile-menu {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }

  .page-hero {
    padding: 90px var(--gutter) 20px;
    margin-bottom: 60px;
  }

  .project-grid--portfolio {
    padding-top: 0;
  }

  .project-page {
    padding-top: 0;
  }

  .project-hero {
    width: calc(100% - 124px);
    aspect-ratio: 32/33;
    margin-top: 45px;
  }

  .project-overview {
    width: calc(100% - 124px);
    margin: 50px auto 40px;
    grid-template-columns: 295px 1fr;
    gap: 10px 20px;
  }

  .project-overview__identity {
    grid-column: 1;
    grid-row: 1;
  }

  .project-year {
    grid-column: 2;
    grid-row: 1;
  }

  .project-description {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .project-categories {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
  }

  .project-categories li {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .project-categories li:not(:last-child)::after {
    content: '';
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--grey);
  }

  .project-tabs {
    width: calc(100% - 124px);
    margin: 0 auto;
    padding: 20px 0;
  }

  .process-section {
    width: calc(100% - 124px);
    margin: 0 auto;
    padding: 0 0 60px;
  }

  .process-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-image img {
    aspect-ratio: 4 / 3;
  }

  .similar-projects {
    padding: 70px 60px 50px;
  }

  .similar-projects_content>h2 {
    width: 100%;
    font-size: 40px;
  }

  .similar-projects_content {
    margin-right: 0;
  }

  .about-intro {
    padding-top: 90px;
  }

  .about-intro__copy {
    display: block;
    margin-top: 20px;
  }

  .about-intro_content--secondary {
    margin-top: 20px;
  }

  .recognitions {
    max-width: 338px;
    width: 100%;
    margin-top: 30px;
    justify-self: right;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 50px;
    margin-top: 75px;
  }

  .team-card img {
    max-width: 120px;
    width: 100%;
    aspect-ratio: 4/5;
  }

  .team-photo {
    margin-top: 60px;
  }

  .contacts-page {
    padding-top: 73px;
  }

  .contacts-intro {
    grid-template-columns: 200px 1fr;
    gap: 41px;
  }

  .offices {
    gap: 28px;
  }

  .contact-row {
    width: 100%;
    display: flex;
  }

  .contact-row__inner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .contact-row__inner strong {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .contact-links {
    margin-top: 25.57%;
    margin-bottom: 13%;
  }

  .contact-row>a,
  .phone a {
    font-size: 34px;
  }

  .privacy-page {
    padding-top: 80px;
  }

  .privacy-page>h1,
  .legal-content {
    width: 100%;
    max-width: 100%;
    padding-inline: 60px;
  }

  .privacy-page>h1 {
    margin-bottom: 20px;
    font-size: 40px;
  }

  .legal-content h2 {
    margin: 20px 0 15px;
  }

  .legal-content h3 {
    margin: 10px 0;
  }

  .legal-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    width: calc(100% + 120px);
    margin-left: -60px;
    margin-right: -60px;
    padding-inline: 60px;
  }

  .not-found-hero__copy {
    max-width: 667px;
    margin: 90px auto 0;
    align-self: start;
  }

  .not-found-hero {
    aspect-ratio: 4 / 3;
  }

  .not-found-page {
    margin-top: 0;
  }

  .not-found-hero h1 {
    font-size: 40px;
    margin: 0 0 20px;
  }
}

@media (max-width: 768px) {

  .privacy-page>h1,
  .legal-content {
    padding-inline: 40px;
  }
}

@media (max-width: 560px) {

  .home-hero {
    min-height: 62.6svh;
  }

  .site-header {
    padding-top: 20px;
  }

  .site-header--hero {
    padding: 40px 40px 0;
  }

  .brand {
    max-width: 234px;
    width: 100%;
  }

  .home-page {
    padding-top: 20px;
  }

  .home-hero img {
    object-position: 52% center;
  }

  .project-grid {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 25px;
  }

  .project-grid--home {
    padding-top: 50px;
  }

  .home-page--no-hero .project-grid--home {
    padding-top: 30px;
  }

  .project-card__copy {
    padding-bottom: 5px;
  }

  .project-card h2,
  .project-card p {
    font-size: 14px;
  }

  .project-grid--home .project-card:nth-child(n+9) {
    display: none;
  }

  .site-footer {
    margin-top: 50px;
  }

  .site-footer__top {
    padding: 0 26px 0 20px;
    display: block;
  }

  .site-footer__intro {
    width: 100%;
  }

  .site-footer__intro>p {
    width: 100%;
    margin-bottom: 16px;
    font-size: 14px;
  }

  .legal-nav {
    gap: 7px 10px;
    font-size: 12px;
  }

  .site-footer__social {
    display: none;
  }

  .site-footer__brand {
    position: relative;
    padding: 90px 0 0;
  }

  .site-footer__credit {
    font-size: 8px;
    margin-bottom: 20px;
  }

  .site-footer__credit img {
    width: 27px;
  }

  .site-footer__wordmark {
    content: url('assets/icons/logoBgfooterMobile.svg');
    margin-bottom: 0;
  }

  .brand--menu {
    max-width: 234px;
    width: 100%;
  }

  .mobile-menu__nav {
    margin-top: 0;
    font-size: 30px;
    padding-top: 60px;
  }

  .project-page {
    padding-top: 20px;
  }

  .page-hero {
    padding: 80px var(--gutter) 20px;
    margin-bottom: 50px;
  }

  .page-hero h1,
  .contacts-intro h1 {
    font-size: 22px;
  }

  .project-grid--portfolio {
    padding-top: 0;
  }

  .project-hero {
    width: calc(100% - 40px);
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }

  .project-hero__media {
    width: 160%;
    margin-left: -30%;
  }

  .project-hero.is-settled .project-hero__media {
    width: 100%;
    margin-left: 0;
  }

  .project-overview {
    width: calc(100% - 40px);
    margin: 30px auto 50px;
    grid-template-columns: auto 1fr;
  }

  .project-overview h1 {
    font-size: 22px;
  }

  .project-overview__identity p {
    font-size: 22px;
  }

  .project-year {
    text-align: right;
  }

  .project-description {
    font-size: 14px;
  }

  .project-categories {
    flex-direction: row;
    align-items: flex-start;
    gap: 4px 10px;
    font-size: 14px;
  }

  .project-process {
    padding: 20px;
  }

  .project-tabs {
    width: 100%;
    gap: 24px;
    margin: 0 0 20px;
    padding: 0;
  }

  .project-tabs a {
    font-size: 14px;
  }

  .process-sections {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    gap: 20px;
  }

  .process-sections::-webkit-scrollbar {
    display: none;
  }

  .process-section {
  /*  flex: 0 0 calc(100% - 20px);
    width: calc(100% - 20px);*/
        flex: auto;
        width: auto;
    scroll-snap-align: start;
    padding-bottom: 0;
  }

  .process-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .process-gallery::-webkit-scrollbar {
    display: none;
  }

  .process-image {
    flex: 0 0 306px;
  }

  .process-image img {
    aspect-ratio: 306 / 230;
    object-fit: cover;
  }

  .similar-projects {
    padding: 50px;
  }

  .similar-projects_content {
    max-width: 196px;
  }

  .similar-projects_content>h2 {
    width: 100%;
    margin-bottom: 16px;
    font-size: 34px;
  }

  .similar-projects_content>.outline-button {
    font-size: 12px;
  }

  .about-intro {
    display: block;
    padding-top: 80px;
  }

  .about-intro__copy {
    display: block;
  }

  .recognitions {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
    gap: 24px;
  }

  .recognition {
    flex-direction: row;
    gap: 14px;
  }

  .recognition img {
    width: 40px;
  }

  .recognition p {
    font-size: 12px;
  }

  .team-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
    padding-inline: var(--gutter);
  }

  .team-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
  }

  .team-card img {
    width: 88px;
    aspect-ratio: 4 / 5;
  }

  .team-card__copy {
    padding-top: 0;
  }

  .team-card h2 {
    font-size: 18px;
  }

  .team-card__role {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .team-card__bio {
    font-size: 14px;
    line-height: 150%;
  }

  .team-photo {
    margin-top: 50px;
    aspect-ratio: 39 / 29;
  }

  .team-photo img {
    object-position: center;
  }

  .contacts-page {
    padding-top: 70px;
  }

  .contacts-intro {
    display: block;
  }

  .offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  .offices address {
    font-size: 14px;
    max-width: 130px;
  }

  .contact-links {
    margin-top: 80px;
    margin-bottom: 50px;
  }

  .contact-row {
    padding-block: 12px;
  }

  .contact-row__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 4px;
  }

  .contact-row__inner a {
    text-align: start;
    font-size: 22px;
  }

  .contact-row>strong {
    display: none;
  }

  .contact-row>a,
  .phone a {
    font-size: 22px;
    line-height: 1.2;
  }

  .phone {
    margin-top: 0;
  }

  .phone small {
    font-size: 8px;
  }

  .privacy-page>h1,
  .legal-content {
    padding-inline: 20px;
  }

  .privacy-page {
    padding: 80px 0 0;
  }

  .privacy-page>h1,
  .legal-content {
    width: 100%;
  }

  .privacy-page>h1 {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .legal-content {
    font-size: 14px;
  }

  .legal-section {
    margin-bottom: 20px;
  }

  .legal-section h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .legal-section h3 {
    margin: 10px 0 2px;
    font-size: 16px;
  }

  .not-found-hero::after {
    height: 202px;
  }

  .not-found-hero {
    aspect-ratio: 1 / 1;
    background-position: 53% center;
  }

  .not-found-hero__copy {
    width: 265px;
  }

  .not-found-hero__copy>p {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .not-found-hero h1 {
    margin-bottom: 26px;
    font-size: 34px;
  }

  .not-found-page+#site-footer .site-footer {
    margin-top: 0;
  }
}
@media (max-width: 500px){
	.legal-nav .menu {
	    gap: 5px;
	}
	.legal-nav > .link-button + a, .legal-nav .menu li {
	    gap: 5px;
	}
    .legal-nav {
        font-size: 9px;
    }
}
@media (max-width: 400px) {
  .brand {
    width: 200px;
  }

  .team-card__bio {
    font-size: 12px;
  }

  .team-card {
    gap: 20px;
  }

  .contact-row__inner a {
    font-size: 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@supports (view-transition-name: none) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.6s;
  }
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/montserrat-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/montserrat-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/red-hat-display-800.ttf') format('truetype');
}
