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

:root {
	--maroon: 145, 40, 50;
	--page-x: 12px;
	--nav-gap: 5%;
}

@font-face {
	font-family: "MagisterExtended";
	src: url("../fonts/MagisterSTBeta-Extended.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

html { font-size: 12px; }

body {
	font-family: "MagisterExtended", serif;
	letter-spacing: 0.75px;
	line-height: 1.2;
	background: #fff;
	margin: 0;
	color: rgb(var(--maroon));
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-smooth: always;
}

h1 {
	margin: 0;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 4px;
}

a[href^="tel"],
a[href^="mailto"],
a[href^="http"] {
  color: inherit;
  text-decoration: none;
}


.container {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin: 0 auto;
	padding: 0 var(--page-x);
	min-height: 100svh;
	align-items: center;
	padding-bottom: 24px;
}

.logo {
	grid-column: 1 / span 4;
	text-align: center;
}

.nav {
	grid-column: 5 / -1;
	display: grid;
	grid-template-columns: repeat(4, auto);
	column-gap: var(--nav-gap);
	align-items: center;
	justify-content: center;
}

.nav a,
.nav span {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.nav a:hover { text-decoration: underline; }

@media (max-width: 1200px) {
  html { font-size: 10px; }
  body { line-height: 13.5px; }

  h1 {
    font-size: 15px;
    letter-spacing: 3.75px;
  }

  .container {
  	padding-bottom: 0;
  }

  .logo {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100svh;
    margin: 0;
    padding-bottom: 42px; /* optical adjustment */
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 84px;
    left: 0;
    right: 0;
  }

  .nav .interiors { display: none; }

  .nav .address,
  .nav .city {
    display: block;
    text-align: center;
    margin: 0;
  }

  .nav a {
    margin-top: 14px;
    text-align: center;
  }
}