/* reset --------------------------  */

html,
body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
dfn,
del,
p,
blockquote,
fieldset,
input,
textarea,
select,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
button,
canvas,
video {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
address,
caption,
cite,
code,
th,
dfn,
del {
  font-weight: normal;
  font-style: normal;
}

ul,
ol {
  list-style: none;
}

fieldset,
img {
  border: none;
}

caption,
th {
  text-align: left;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

input[type="button"],
input[type="submit"],
input[type="reset"],
button,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

input,
button,
textarea {
  line-height: normal;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input[type="hidden"],
[hidden],
.hidden {
  display: none;
}

textarea {
  overflow: auto;
  resize: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
.clearfix {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
}

a > img {
  vertical-align: bottom;
}

strong,
.strong,
b {
  font-weight: bold;
}

em,
.italic,
i {
  font-style: italic;
}

del,
.del {
  text-decoration: line-through;
}

:focus {
  outline: none;
}

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

:root {
  --font-xxl: 44px;
  --font-xl: 28px;
  --font-l: 22px;
  --font-m: 18px;
  --font-s: 15px;
  --font-xs: 14px;
  --color-Botticelli: #d5eaec;
  --color-RoseBud: #f8a888;
  --color-TuftBush: #fdd7c6;
  --color-Tundora: #424242;
  --color-WePeep: #f8e5e3;
  --color-Alabaster: #fafafa;
  --color-Driftwood: #ab8742;
  --color-Smoke: #edeced;
  --spacing-base: 19px;
  --spacing-x2: 38px;
  --spacing-x3: 57px;
}

/* tools --------------------------  */
.clear {
  clear: both;
  display: block;
  line-height: 0;
  height: 0;
  font-size: 0;
}

.clearfix:after,
.wrap:after,
.content:after,
.main:after,
aside:after,
section:after,
article:after,
.text:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  font-size: 0;
}

.align-left {
  float: left !important;
}

.align-right {
  float: right !important;
}

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

.text-left {
  text-align: left;
}

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

.center {
  text-align: center;
}

/* common --------------------------  */
@font-face {
  font-family: "Lulo";
  src: url("fonts/Lulo.eot");
  src:
    url("fonts/Lulo.eot?#iefix") format("embedded-opentype"),
    url("fonts/Lulo.woff2") format("woff2"),
    url("fonts/Lulo.woff") format("woff"),
    url("fonts/Lulo.ttf") format("truetype"),
    url("fonts/Lulo.svg#svgFontName") format("svg");
}
@font-face {
  font-family: "LuloBold";
  src: url("fonts/LuloBold.eot");
  src:
    url("fonts/LuloBold.eot?#iefix") format("embedded-opentype"),
    url("fonts/LuloBold.woff2") format("woff2"),
    url("fonts/LuloBold.woff") format("woff"),
    url("fonts/LuloBold.ttf") format("truetype"),
    url("fonts/LuloBold.svg#svgFontName") format("svg");
}

html {
  height: 100%;
  background: var(--color-Smoke);
}

body {
  height: 100%;
  font:
    19px/31px "Questrial",
    Arial,
    sans-serif;
  color: #000;
  line-height: 1.7em;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

h4,
h5,
h6 {
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4 {
  font-weight: bold;
  text-align: left;
}

h1 {
  text-align: left;
  font-weight: bold;
  line-height: 0.8em;
  text-transform: uppercase;
  font-size: var(--font-xxl);
  padding-right: var(--spacing-base);
}
h1,
h2 {
  margin-bottom: 10px;
}
h2 {
  font-size: var(--font-m);
  line-height: 0.8em;
}
h3,
h4 {
  font-size: var(--font-l);
  margin-bottom: var(--spacing-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
h4 {
  font-weight: normal;
}
p {
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-base);
  text-align: left;
}
p:last-of-type {
  margin-bottom: 0;
}
a {
  color: var(--color-Tundora);
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:active {
  color: var(--color-Tundora);
}

.main {
  min-height: 100%;
  overflow: hidden;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wrap {
  margin: 0 auto;
  padding: 0 var(--spacing-base);
  max-width: 1300px;
}

.strip {
  text-align: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  clear: both;
  padding-top: var(--spacing-x2);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

header,
footer {
  position: relative;
  clear: both;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.header-inner {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
footer {
  background: var(--color-Alabaster);
  padding: var(--spacing-x3) 0;
  margin-top: var(--spacing-x3);
}
footer p {
  text-align: center;
}

.totop svg {
  width: 40px;
  height: 39px;
  display: block;
  cursor: pointer;
}
.promo div,
.intro div,
.collection div,
.contact div {
  background-size: cover;
}
.promo div,
.contact div:nth-of-type(1),
.contact div:nth-of-type(2) {
  min-height: 420px;
}
.promo div:nth-of-type(1) {
  background: url(../images/promo-1.jpg) no-repeat center center;
}
.promo div:nth-of-type(2) {
  background: url(../images/promo-2.jpg) no-repeat center center;
}
.intro div:nth-of-type(2) {
  background: url(../images/intro.jpg) no-repeat center center;
  min-height: 610px;
}
.collection div:nth-of-type(1) {
  background: url(../images/collection-1.jpg) no-repeat center center;
  grid-column: 1/3;
  min-height: 365px;
}
.collection div:nth-of-type(2) {
  background: url(../images/collection-2.jpg) no-repeat center center;
  grid-row: 1/3;
  grid-column: 3/4;
}
.collection div:nth-of-type(4) {
  background: url(../images/collection-4.jpg) no-repeat center center;
}
.contact div:nth-of-type(1) {
  background: url(../images/contact-1.jpg) no-repeat center center;
}
.contact div:nth-of-type(2) {
  background: url(../images/contact-2.jpg) no-repeat center center;
}

.intro h3,
.projects h3 {
  font-size: var(--font-xl);
  line-height: 0.9em;
}

.projects .strip {
  margin: var(--spacing-x3) auto;
}
.project-7 {
  grid-template-columns: auto 450px;
}
.project-7 div:nth-of-type(2) {
  background: url(../images/project-7.jpg) no-repeat center center;
  min-height: 610px;
}
.project-6 {
  grid-template-columns: 545px auto;
}
.project-6 div:nth-of-type(1) {
  background: url(../images/project-6.jpg) no-repeat top center;
  min-height: 415px;
}
.project-6 h3 {
  padding-top: 5%;
}

hr {
  height: 1px;
  display: block;
  width: 50%;
  background-color: var(--color-Smoke);
}
.error-page {
  text-align: left;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15%;
  padding: var(--spacing-base) !important;
}
.error-page a {
  text-decoration: underline;
  color: var(--color-RoseBud);
}
.error-page a:hover {
  text-decoration: none;
}
.error-page p {
  font-size: var(--font-m);
}
.error-page hr {
  margin: 30px auto;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    padding-top: var(--spacing-base);
    padding-bottom: var(--spacing-base);
  }
  footer,
  p {
    text-align: center;
  }
  .header-inner,
  .promo {
    margin-top: calc(var(--spacing-x2) * -1);
  }
  .collection h3 {
    padding-top: var(--spacing-x2);
  }
  .projects .strip {
    margin-bottom: 0;
  }
  .projects .grid div {
    padding-bottom: var(--spacing-x2);
  }
  .totop svg {
    margin: var(--spacing-x2) auto;
  }
}
@media (min-width: 769px) {
  h1 {
    font-size: 150px;
  }
  h2 {
    font-size: var(--font-xl);
  }
  h4 {
    font-size: var(--font-xl);
  }
  hr {
    margin: var(--spacing-x3) auto;
  }
  .intro h3,
  .projects h3,
  .font-xxl {
    font-size: var(--font-xxl);
  }
  .intro h3 {
    padding-top: 15%;
  }
  .grid {
    display: grid;
    grid-gap: var(--spacing-x2);
  }
  .grid-66-33 {
    grid-template-columns: 2fr 1fr;
  }
  .grid-33-66 {
    grid-template-columns: 1fr 2fr;
  }
  .grid-50-50 {
    grid-template-columns: 1fr 1fr;
  }
  .collection {
    display: grid;
    grid-template-columns: auto 410px 350px;
    grid-template-rows: auto 245px;
    grid-gap: var(--spacing-x2);
  }
  .contact div:nth-of-type(3),
  .contact div:nth-of-type(4) {
    margin-top: calc(var(--spacing-x2) * -1);
  }
  .totop svg {
    position: absolute;
    top: 50px;
    right: 50px;
  }
}
@media (max-width: 1024px) {
  .collection {
    padding-bottom: var(--spacing-x2);
    grid: none;
  }
  .collection div:nth-of-type(1) {
    grid-column: 1 / 4;
  }
  .collection div:nth-of-type(2),
  .collection div:nth-of-type(4) {
    display: none;
  }
  .projects .grid {
    grid-template-columns: none;
  }
  .projects img {
    width: 100%;
  }
}
@media (max-width: 1299px) {
  .strip {
    padding-left: var(--spacing-x2);
    padding-right: var(--spacing-x2);
  }
  .projects .strip {
    padding-top: 0;
  }
  hr {
    width: 100%;
    margin: var(--spacing-x2) auto;
  }
}
@media (min-width: 1300px) {
  .collection h3 {
    font-size: var(--font-xl);
  }
  .projects hr {
    display: none;
  }
}
