/*
--------------------------------------------------
BASE / RESET
--------------------------------------------------
*/

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1.7em;
  line-height: 1.65;
  font-weight: 400;
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #263a32;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/*
--------------------------------------------------
GRID
--------------------------------------------------
*/

.container {
  position: relative;
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}

.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box;
}


/*
--------------------------------------------------
TABLET / DESKTOP GRID
--------------------------------------------------
*/

@media (min-width: 768px) {

  .column,
  .columns {
    margin-left: 4%;
  }

  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }

  .one.column,
  .one.columns {
    width: 4.66666666667%;
  }

  .two.columns {
    width: 13.3333333333%;
  }

  .three.columns {
    width: 22%;
  }

  .four.columns {
    width: 30.6666666667%;
  }

  .five.columns {
    width: 39.3333333333%;
  }

  .six.columns {
    width: 48%;
  }

  .seven.columns {
    width: 56.6666666667%;
  }

  .eight.columns {
    width: 65.3333333333%;
  }

  .nine.columns {
    width: 74%;
  }

  .ten.columns {
    width: 82.6666666667%;
  }

  .eleven.columns {
    width: 91.3333333333%;
  }

  .twelve.columns {
    width: 100%;
    margin-left: 0;
  }

  .one-third.column {
    width: 30.6666666667%;
  }

  .two-thirds.column {
    width: 65.3333333333%;
  }

  .one-half.column {
    width: 48%;
  }


  /*
  OFFSETS
  */

  .offset-by-one.column,
  .offset-by-one.columns {
    margin-left: 8.66666666667%;
  }

  .offset-by-two.column,
  .offset-by-two.columns {
    margin-left: 17.3333333333%;
  }

  .offset-by-three.column,
  .offset-by-three.columns {
    margin-left: 26%;
  }

  .offset-by-four.column,
  .offset-by-four.columns {
    margin-left: 34.6666666667%;
  }

  .offset-by-five.column,
  .offset-by-five.columns {
    margin-left: 43.3333333333%;
  }

  .offset-by-six.column,
  .offset-by-six.columns {
    margin-left: 52%;
  }

  .offset-by-seven.column,
  .offset-by-seven.columns {
    margin-left: 60.6666666667%;
  }

  .offset-by-eight.column,
  .offset-by-eight.columns {
    margin-left: 69.3333333333%;
  }

  .offset-by-nine.column,
  .offset-by-nine.columns {
    margin-left: 78%;
  }

  .offset-by-ten.column,
  .offset-by-ten.columns {
    margin-left: 86.6666666667%;
  }

  .offset-by-eleven.column,
  .offset-by-eleven.columns {
    margin-left: 95.3333333333%;
  }

  .offset-by-one-third.column,
  .offset-by-one-third.columns {
    margin-left: 34.6666666667%;
  }

  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns {
    margin-left: 69.3333333333%;
  }

  .offset-by-one-half.column,
  .offset-by-one-half.columns {
    margin-left: 52%;
  }
}


/*
--------------------------------------------------
TYPOGRAPHY
--------------------------------------------------
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: #263a32;
  font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 2.4rem;
  font-size: clamp(4.4rem, 6vw, 7.6rem);
  line-height: 1.03;
  font-weight: 500;
}

h2 {
  margin-bottom: 2.4rem;
  font-size: clamp(3.6rem, 4vw, 5.4rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 1.8rem;
  font-size: clamp(2.6rem, 3vw, 3.5rem);
  line-height: 1.2;
}

h4 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  line-height: 1.3;
}

h5 {
  margin-bottom: 1.2rem;
  font-size: 2rem;
  line-height: 1.4;
}

h6 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 600;
}

p {
  margin-top: 0;
  margin-bottom: 2.4rem;
  max-width: 72rem;
}

strong,
b {
  font-weight: 600;
}


/*
--------------------------------------------------
LINKS
--------------------------------------------------
*/

a {
  color: #263a32;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

a:hover {
  color: #64766b;
}


/*
--------------------------------------------------
BUTTONS
--------------------------------------------------
*/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  height: auto;

  padding: 14px 30px;

  color: #ffffff;
  background-color: #263a32;

  border: 1px solid #263a32;
  border-radius: 0;

  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 600;

  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: none;

  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #263a32;
  background-color: transparent;
  border-color: #263a32;
  outline: 0;
}


/*
PRIMARY BUTTON
*/

.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #ffffff;
  background-color: #263a32;
  border-color: #263a32;
}

.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #263a32;
  background-color: transparent;
  border-color: #263a32;
}


/*
--------------------------------------------------
FORMS
--------------------------------------------------
*/

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  width: 100%;
  min-height: 54px;
  height: auto;

  padding: 14px 16px;

  font-family: inherit;
  font-size: 1.6rem;
  color: #263a32;

  background-color: transparent;

  border: 1px solid rgba(38, 58, 50, 0.35);
  border-radius: 0;

  box-shadow: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(38, 58, 50, 0.55);
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #263a32;
  outline: 0;
}

label,
legend {
  display: block;
  margin-bottom: 0.8rem;

  color: #263a32;

  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 600;
}

fieldset {
  padding: 0;
  border: 0;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  width: auto;
  margin-right: 8px;
}

label > .label-body {
  display: inline-block;
  margin-left: 0.5rem;
  font-weight: 400;
}


/*
--------------------------------------------------
LISTS
--------------------------------------------------
*/

ul {
  list-style: disc outside;
}

ol {
  list-style: decimal outside;
}

ol,
ul {
  padding-left: 2rem;
  margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1rem 0 1rem 2rem;
}

li {
  margin-bottom: 0.7rem;
}


/*
--------------------------------------------------
CODE
--------------------------------------------------
*/

code {
  padding: 0.25rem 0.6rem;
  margin: 0 0.2rem;

  font-size: 90%;

  white-space: nowrap;

  background: #f2f3ef;

  border: 1px solid #e1e4de;
  border-radius: 2px;
}

pre > code {
  display: block;
  padding: 1.5rem;

  white-space: pre;
  overflow-x: auto;
}


/*
--------------------------------------------------
TABLES
--------------------------------------------------
*/

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 12px;
  text-align: left;

  border-bottom: 1px solid rgba(38, 58, 50, 0.18);
}

th {
  color: #263a32;
  font-weight: 600;
}


/*
--------------------------------------------------
SPACING
--------------------------------------------------
*/

button,
.button {
  margin-bottom: 1rem;
}

input,
textarea,
select,
fieldset {
  margin-bottom: 2rem;
}

pre,
blockquote,
dl,
figure,
table,
form {
  margin-bottom: 3rem;
}


/*
--------------------------------------------------
BLOCKQUOTE
--------------------------------------------------
*/

blockquote {
  margin-left: 0;
  padding: 2rem 0 2rem 3rem;

  color: #263a32;

  font-size: 2rem;
  line-height: 1.55;

  border-left: 2px solid #263a32;
}


/*
--------------------------------------------------
IMAGES
--------------------------------------------------
*/

img {
  max-width: 100%;
  height: auto;
}


/*
--------------------------------------------------
HR
--------------------------------------------------
*/

hr {
  margin-top: 5rem;
  margin-bottom: 5rem;

  border: 0;
  border-top: 1px solid rgba(38, 58, 50, 0.18);
}


/*
--------------------------------------------------
UTILITIES
--------------------------------------------------
*/

.u-full-width {
  width: 100%;
}

.u-max-full-width {
  max-width: 100%;
}

.u-pull-right {
  float: right;
}

.u-pull-left {
  float: left;
}


/*
--------------------------------------------------
CLEARING
--------------------------------------------------
*/

.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both;
}


/*
--------------------------------------------------
OPTIONAL SECTION STYLES
Fiskbæk Enge-inspired
--------------------------------------------------
*/

.section {
  padding: 10rem 0;
}

.section--green {
  color: #ffffff;
  background-color: #263a32;
}

.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4,
.section--green h5,
.section--green h6 {
  color: #ffffff;
}

.section--light {
  background-color: #f1f2ec;
}

.section--cream {
  background-color: #f5f1e8;
}


/*
--------------------------------------------------
MOBILE
--------------------------------------------------
*/

@media (max-width: 767px) {

  .container {
    width: calc(100% - 40px);
  }

  body {
    font-size: 1.6em;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3.3rem;
  }

  h3 {
    font-size: 2.6rem;
  }

  .section {
    padding: 6rem 0;
  }

  .button,
  button,
  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    min-height: 50px;
    padding: 13px 22px;
  }
}


/*
--------------------------------------------------
LARGE DESKTOP
--------------------------------------------------
*/

@media (min-width: 1400px) {

  .container {
    max-width: 1320px;
  }
}