@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WCzsX_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC7sW_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC2UW_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WCzsW_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WCwkW_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC-UR_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC9wR_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC7sR_LA.ttf) format('truetype');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lexend/v26/wlptgwvFAVdoq2_F94zlCfv0bz1WC5IR_LA.ttf) format('truetype');
}
@font-face {
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./fontawesome/fa-regular-400.woff2");
  unicode-range: U+f000 -uf2e0;
}
@font-face {
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("./fontawesome/fa-solid-900.woff2");
  unicode-range: U+f000 -uf2e0;
}
@font-face {
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("./fontawesome/fa-brands-400.woff2");
  unicode-range: U+f000 -uf2e0;
}
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
:root {
  --font-primary: 'Lexend', sans-serif;
  --colour-accent-dark: #83370b;
  --colour-accent-light: #c98769;
  --colour-bg-dark: #e6dcd4;
  --colour-bg-light: #f5f1eb;
  --colour-fg: #373d36;
  --page-width: 1200px;
}
* {
  box-sizing: border-box;
  background-color: var(--scheme-bg);
  color: var(--scheme-fg);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
button,
.button {
  padding: 0.5em 1em;
  background-color: var(--scheme-accent-bg);
  color: var(--scheme-accent-fg);
  border-radius: 0.5em;
  border: none;
  outline: none;
  font: inherit;
}
button:hover,
.button:hover {
  background-color: color-mix(in srgb, var(--scheme-accent-bg) 90%, black 10%);
  text-decoration: none;
  cursor: pointer;
}
button.secondary,
.button.secondary {
  background-color: transparent;
  border: 1px solid color-mix(in srgb, var(--scheme-fg) 50%, transparent);
  color: var(--scheme-fg);
}
button.secondary:hover,
.button.secondary:hover {
  background-color: var(--scheme-fg);
  border-color: var(--scheme-fg);
  color: var(--scheme-bg);
}
.button-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
html {
  font-family: var(--font-primary);
  font-weight: 300;
  font-style: normal;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.04em;
  --scheme-bg: var(--colour-bg-light);
  --scheme-fg: var(--colour-fg);
  --scheme-accent-bg: var(--colour-accent-light);
  --scheme-accent-fg: white;
}
html body {
  margin: 0;
  padding: 0;
}
header {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  padding-left: calc((100vw - var(--page-width)) / 2);
  padding-right: calc((100vw - var(--page-width)) / 2);
  align-items: center;
  --scheme-bg: var(--colour-bg-dark);
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex: 1 0 auto;
}
header nav > * {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1em 0;
}
h2 {
  font-size: 4em;
}
h3 {
  font-size: 2em;
}
h4 {
  font-size: 1.5em;
}
p {
  margin: 0;
}
main > section {
  padding-left: calc((100vw - var(--page-width)) / 2);
  padding-right: calc((100vw - var(--page-width)) / 2);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  padding-top: 5em;
  padding-bottom: 1em;
  position: relative;
}
main > section .split {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  justify-content: space-between;
}
main > section .split > * {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
main > section .split > *:first-child {
  flex: 0 0 60%;
}
section.intro {
  padding-top: 5em;
}
section.intro .button-group {
  justify-content: flex-start;
}
section.intro .gallery {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  justify-content: flex-start;
}
section.intro .gallery > * {
  width: 600px;
  height: 400px;
}
section.intro .gallery > *:nth-child(4n+1) {
  margin-bottom: 2em;
  height: calc(400px - 2em);
}
section.intro .gallery > *:nth-child(4n+3) {
  margin-top: 2em;
  height: calc(400px - 2em);
}
section#projects {
  --scheme-bg: var(--colour-bg-dark);
}
section#projects > p {
  max-width: 60%;
}
section#projects .tag {
  font-size: 0.8em;
  font-weight: 200;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  padding: 2em 0 4em 0;
}
.project-grid > li,
.project-grid > li > a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex: 1 0 auto;
  align-items: flex-start;
}
.project-grid p {
  flex: 1 0 auto;
}
section#news {
  position: relative;
  --scheme-bg: var(--colour-accent-dark);
  --scheme-fg: white;
}
section#news::before {
  content: '';
  position: absolute;
  top: 0;
  height: 40px;
  left: 0;
  right: 0;
  background: #ffffff20;
  mask: url('images/pattern.png') luminance repeat-x center top / contain;
  z-index: 10;
  pointer-events: none;
}
section#news .split .button {
  align-self: flex-end;
}
section#news .tag {
  font-size: 0.8em;
  font-weight: 200;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  background-color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}
.read-more::after {
  display: inline-block;
  margin-left: 1.5em;
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  content: "\f178";
  transition: all 0.3s;
  translate: 0 0;
}
.read-more:hover::after {
  translate: 1em 0;
}
img.logo {
  width: 160px;
}
img:not(.logo) {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: color-mix(in srgb, var(--scheme-fg) 50%, transparent);
  border-radius: 2em;
}
section.showcase {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  align-items: flex-start;
}
section.showcase > aside {
  flex: 0 0 30%;
}
section.showcase > aside > ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
section.showcase > aside > ul > li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
section.showcase > aside > ul > li > a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
section.showcase > aside > ul > li:not(:last-child)::after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background-color: color-mix(in srgb, var(--scheme-fg) 30%, transparent);
  margin-top: 1rem;
  margin-bottom: 1rem;
}
section.showcase > section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
section.showcase > section > div {
  padding: 0 2em;
  position: relative;
}
section.showcase > section > div::before,
section.showcase > section > div::after {
  content: '';
  display: block;
  width: 2px;
  top: 0;
  bottom: 0;
  background-color: color-mix(in srgb, var(--scheme-fg) 30%, transparent);
  position: absolute;
}
section.showcase > section > div::before {
  left: 0;
}
section.showcase > section > div::after {
  right: 0;
}
section#contact {
  --scheme-bg: var(--colour-bg-dark);
}
section#contact .contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}
section#contact .contact-methods > * {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  align-items: flex-start;
  gap: 0.5rem;
}
section#contact .contact-methods > * > p {
  flex: 1 0 auto;
  margin-bottom: 1em;
}
section#contact .contact-methods > * > h4 {
  margin-top: 1em;
  margin-bottom: 0;
}
footer {
  position: relative;
  padding: 3em 0 0 1em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  padding-left: calc((100vw - var(--page-width)) / 2);
  padding-right: calc((100vw - var(--page-width)) / 2);
  --scheme-bg: var(--colour-fg);
  --scheme-fg: white;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  height: 40px;
  left: 0;
  right: 0;
  background: #ffffff20;
  mask: url('images/pattern.png') luminance repeat-x center top / contain;
  z-index: 10;
  pointer-events: none;
}
footer .footer-nav {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
footer .footer-nav nav {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex: 1 0 auto;
}
footer .footer-nav nav > * {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
footer .footer-nav > .socials {
  font-size: 2em;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
footer .strapline {
  text-align: center;
  font-weight: 200;
  font-size: 0.8em;
}
.social-facebook::before {
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 700;
  font-variant: normal;
  content: "\f09a";
}
.social-instagram::before {
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 700;
  font-variant: normal;
  content: "\f16d";
}
.social-twitter::before {
  font-family: "fontawesome";
  font-style: normal;
  font-weight: 700;
  font-variant: normal;
  content: "\f099";
}
