/* =========================================================
   DAO · ROOT
   Custom Footer
   footer.css
   ========================================================= */


/* ---------------------------------------------------------
   FOOTER BASE
   --------------------------------------------------------- */

.dr-footer {
	padding: 86px 0 34px;

	background: #1f1e19;
	color: #e9e3d8;

	border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/*
 * Normally .dr-container comes from home.css.
 * Define it here as well so the footer can later work
 * on every page independently.
 */

.dr-footer .dr-container {
	width: min(1240px, calc(100% - 80px));
	margin-inline: auto;
}


/* ---------------------------------------------------------
   MAIN GRID
   --------------------------------------------------------- */

.dr-footer-main {
	display: grid;

	grid-template-columns:
		minmax(320px, 2fr)
		minmax(120px, 0.7fr)
		minmax(120px, 0.7fr)
		minmax(120px, 0.7fr);

	gap: 60px;

	padding-bottom: 74px;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.dr-footer-brand {
	max-width: 410px;
}

.dr-footer-logo {
	display: inline-block;

	margin: 0 0 24px;

	font-family: "Noto Serif", Georgia, serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1;

	letter-spacing: -0.015em;

	color: #f4f0e7;
	text-decoration: none;

	transition: opacity 0.25s ease;
}

.dr-footer-logo:hover {
	color: #f4f0e7;
	opacity: 0.78;
}

.dr-footer-tagline {
	margin: 0;

	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;

	color: rgba(244, 240, 231, 0.60);
}


/* ---------------------------------------------------------
   COLUMN HEADINGS
   --------------------------------------------------------- */

.dr-footer-heading {
	margin: 3px 0 22px;

	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 9px;
	font-weight: 500;
	line-height: 1;

	letter-spacing: 0.24em;
	text-transform: uppercase;

	color: #b99a72;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.dr-footer-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	gap: 12px;
}

.dr-footer-nav a {
	position: relative;

	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;

	color: rgba(244, 240, 231, 0.72);
	text-decoration: none;

	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.dr-footer-nav a:hover {
	color: #ffffff;
	transform: translateX(2px);
}


/* ---------------------------------------------------------
   BOTTOM AREA
   --------------------------------------------------------- */

.dr-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 30px;

	padding-top: 28px;

	border-top: 1px solid rgba(255, 255, 255, 0.10);
}


/* ---------------------------------------------------------
   COPYRIGHT
   --------------------------------------------------------- */

.dr-footer-copyright p {
	margin: 0;

	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.5;

	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: rgba(244, 240, 231, 0.42);
}


/* ---------------------------------------------------------
   LEGAL LINKS
   --------------------------------------------------------- */

.dr-footer-legal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	gap: 26px;
}

.dr-footer-legal a {
	font-family: "Noto Sans", Arial, sans-serif;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.5;

	color: rgba(244, 240, 231, 0.42);
	text-decoration: none;

	transition: color 0.25s ease;
}

.dr-footer-legal a:hover {
	color: rgba(244, 240, 231, 0.90);
}


/* ---------------------------------------------------------
   KEYBOARD ACCESSIBILITY
   --------------------------------------------------------- */

.dr-footer a:focus-visible {
	outline: 1px solid #b99a72;
	outline-offset: 5px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 999px) {

	.dr-footer {
		padding: 72px 0 32px;
	}

	.dr-footer .dr-container {
		width: min(100% - 40px, 720px);
	}

	.dr-footer-main {
		grid-template-columns:
			repeat(3, minmax(0, 1fr));

		gap: 52px 35px;

		padding-bottom: 60px;
	}

	.dr-footer-brand {
		grid-column: 1 / -1;

		max-width: 500px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

	.dr-footer {
		padding: 62px 0 28px;
	}

	.dr-footer .dr-container {
		width: calc(100% - 32px);
	}

	.dr-footer-main {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		gap: 44px 28px;

		padding-bottom: 52px;
	}

	.dr-footer-brand {
		grid-column: 1 / -1;

		margin-bottom: 4px;
	}

	.dr-footer-logo {
		margin-bottom: 19px;

		font-size: 23px;
	}

	.dr-footer-tagline {
		font-size: 13px;
		line-height: 1.75;
	}

	/*
	 * FOLLOW takes full width on small screens.
	 */

	.dr-footer-column:last-child {
		grid-column: 1 / -1;
	}

	.dr-footer-bottom {
		display: block;

		padding-top: 24px;
	}

	.dr-footer-legal {
		gap: 10px 20px;

		margin-top: 16px;
	}

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 380px) {

	.dr-footer-main {
		grid-template-columns: 1fr;

		gap: 38px;
	}

	.dr-footer-brand,
	.dr-footer-column:last-child {
		grid-column: auto;
	}

}