/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block
}
body {
    line-height: 1
}
ol, ul {
    list-style: none
}
blockquote, q {
    quotes: none
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none
}
table {
    border-collapse: collapse;
    border-spacing: 0
}

/* fonts */
  @font-face {
    font-family: 'Winslow Book';
    src: url('../fonts/WinslowBook-Bold.eot');
    src: url('../fonts/WinslowBook-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/WinslowBook-Bold.woff2') format('woff2'),
        url('../fonts/WinslowBook-Bold.woff') format('woff'),
        url('../fonts/WinslowBook-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Winslow Book';
    src: url('../fonts/WinslowBook-Regular.eot');
    src: url('../fonts/WinslowBook-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/WinslowBook-Regular.woff2') format('woff2'),
        url('../fonts/WinslowBook-Regular.woff') format('woff'),
        url('../fonts/WinslowBook-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap
}
@font-face {
    font-family: 'Winslow Book';
    src: url('../fonts/WinslowBook-RegularItalic.eot');
    src: url('../fonts/WinslowBook-RegularItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/WinslowBook-RegularItalic.woff2') format('woff2'),
        url('../fonts/WinslowBook-RegularItalic.woff') format('woff'),
        url('../fonts/WinslowBook-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap
}
@font-face {
    font-family: 'Winslow Book';
    src: url('../fonts/WinslowBook-BoldItalic.eot');
    src: url('../fonts/WinslowBook-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/WinslowBook-BoldItalic.woff2') format('woff2'),
        url('../fonts/WinslowBook-BoldItalic.woff') format('woff'),
        url('../fonts/WinslowBook-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap
}

/* main styles */
body, html {
  margin: 0; padding: 0;
  font-family: 'Winslow Book', serif !important;
  background: #fff;
  scroll-behavior: smooth;
  color: #0c3030;
  font-weight: normal;
  letter-spacing: 1pt
}
* {
  box-sizing: border-box
}
a {
  color: #0c3030;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em
}
h1 {
  text-transform: lowercase;
  margin: 0;
  color: #fff8f0;
  font-size: 5em
}
h2, h3 {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
  text-transform: lowercase;
  color: #0c3030
}
h2, h3:not(h1) {
  text-align: center
}
/* Icon fallback */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0
}
.icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor
}
.icon img {
  width: 100%;
  height: 100%
}
.icon svg:not(:root) {
  overflow: hidden
}

/* Sticky nav with juicy hamburger */
nav {
  position: sticky;
  top: 0;
  background: #0c3030;
  color: #fff8f0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  transition: all 0.3s ease;
  z-index: 100;
  user-select: none
}
nav.scrolled {
  background: #0c3030
}
nav a {
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
  color: #fff8f0
}
nav.scrolled a {
  color: #fff8f0
}

/* Hamburger and mobile nav */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 22px;
  height: 18px;
  cursor: pointer
}
#hamburger div {
  width: 22px;
  height: 3px;
  background-color: #0c3030;
  transition: all 0.3s ease
}
nav.scrolled #hamburger div {
  background-color: #fff8f0
}
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background: #0c3030;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem 1.5rem;
  z-index: 150;
  box-shadow: -2px 0 10px rgba(0,0,0,0.5)
}
#mobile-menu a {
  color: #fff8f0;
  font-weight: bold;
  font-size: 1.2rem;
  display: block
}
#mobile-menu.show {
  display: flex
}

/* Flex container for rows */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem
}
.row.center {
  justify-content: center
}
.row.space-between {
  justify-content: space-between
}
section {
  min-height: 80vh
}

/* Intro Section */
#intro {
  background: #0c3030;
  color: #fff8f0;
  padding: 2rem 1rem 3rem
}
#intro .row.image-title {
  justify-content: center;
  gap: 1rem
}
.image-title img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  flex-shrink: 0
}
#intro h1 {
  align-self: center;
  font-weight: normal;
  margin-left: -48px;
  height: 120px;
  position: relative
}
h1::after {
  content: '*';
  color: #dbcb8a;
  font-size: .8em;
  position: absolute;
  top: 0;
  right: -20px
}
#intro ul {
margin: -6em 0 2em 9em;
list-style: none;
color: #dbcb8a;
font-size: 1.5em;
font-weight: 100;
line-height: 1.5
}
#intro li {
position:relative
}
li::before {
  content: '*';
  position: absolute;
  left: -20px;
  top: 8px
}

#intro .button-row {
  justify-content: center;
  margin: 2rem auto 4em;
  gap: 2rem;
  max-width: 1024px
}
#intro .button-row button {
  background: transparent;
  border: 3px solid #fff8f0;
  color: #fff8f0;
  padding: 1.25rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  width: calc(33.333% - 5rem);
  min-width: 110px;
  font-family: 'Winslow Book', serif !important
}
#intro .button-row button:hover {
  background-color: #fff8f0;
  color: #0c3030
}
#intro .button-row button:hover img, #intro .button-row button:hover source {
  filter: brightness(0);
  fill: #0c3030
}

/* Services and About H2 margin and style */
h2.section-title {
  background: #fff8f0;
  color: #0c3030;
  padding: 1em;
  max-width: 480px;
  margin: -5.5rem auto 0; /* position exactly between sections */
  position: relative;
  z-index: 5
}

/* Services Section */
#services {
  padding: 3rem 1rem 3rem;
  max-width: 960px;
  margin: 0 auto 5rem
}
#services .cards {
  display: flex;
  gap: 1.5rem;
  margin: 3em 0 1.5rem;
  flex-wrap: wrap;
  justify-content: center
}
#services .card {
  padding: 1rem;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #0c3030;
  position: relative;
  overflow: hidden
}
#services .card h3 {
  margin: 0 0 0.5rem 0;
  padding: 3.25em 0;
  color: #0c3030;
  text-transform: lowercase;
  background-repeat: no-repeat;
  background-size: 150px;
  background-position: center
}
#services .card:nth-child(1) h3 {
  background-image: url('../img/circle1.png')
}
#services .card:nth-child(2) h3 {
  background-image: url('../img/circle2.png')
}
#services .card:nth-child(3) h3 {
  background-image: url('../img/circle3.png')
}
#services .card p {
  margin: 0;
  font-size: 0.9rem
}
#services .work-link-row {
  margin-bottom: 1.5rem
}
#services .work-link-row ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}
#services .work-link-row a {
  font-weight: bold;
  color: #287170;
  justify-content: center;
  margin: 1em 0
}
#services .work-link-row a svg.icon {
  width: 18px;
  height: 18px
}
#services h3.clients-title {
  margin: 2em auto;
  max-width: 600px;
  color: #fff8f0;
  text-transform: lowercase;
  padding: 1em;
  background: #0c3030
}
#clients_partners {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  gap: 1rem;
  color: #0c3030
}
#clients_partners li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem
}

/* Contact/About Section */
#contact_about {
  position: relative;
  background: #287170;
  color: #fff8f0;
  padding: 3rem 1rem 5rem;
  /*overflow: hidden;*/
}
#contact_about .content {
  max-width: 960px;
  margin: 3em auto 4rem;
  background: #287170;
  padding: 2em
}
h3.contact-about-h3 {
  color: #dbcb8a;
  font-size: 2.5em;
  text-align: left;
  font-weight: 100;
  margin: 0 0 .5em
}
#contact_about .content p {
  font-size: 1rem;
  line-height: 1.5;
  columns: 2;
  column-gap: 1rem
}
#contact_about .content p a {
  color: #fff8f0;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline
}
#contact_about .links {
  max-width: 350px;
  margin: 2em auto;
  display: block;
  padding: 0 .5em
}
#contact_about .links a {
  color: #fff8f0;
  text-decoration: underline
}
#contact_about .links a svg.icon {
  width: 18px;
  height: 18px
}

.mobile-break {
  display: none
}
#contact_about{
  background-image:
  url('../img/bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  /* top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  url('../img/texture1.png'),
  url('../img/texture2.png'),
  url('../img/texture3.png'),
  url('../img/texture4.png'),
  url('../img/texture5.png'),
  url('../img/texture6.png');
  background-position: 
  -80px 50%,
  right top,
  center top,
  left bottom,
  right bottom,
  center bottom;
  background-size: 180px, 150px, 120px, 150px, 180px, 140px;
  background-attachment: fixed;
  will-change: transform */
}

/* Footer */
footer {
  background: #0c3030;
  color: #fff8f0;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  position: relative;
  line-height: 1.5em
}
footer a {
  color: #dbcb8a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em
}
footer a:hover {
  text-decoration: underline
}
footer a svg.icon {
  width: 18px;
  height: 18px;
  fill: currentColor
}

/* Popup credits */
#credits-popup, #email-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 320px;
  background: #fff8f0;
  color: #0c3030;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transform: translate(-50%, -50%);
  z-index: 200
}
#credits-popup.show, #email-popup.show {
  display: block
}
#credits-popup button.close, #email-popup button.close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #0c3030
}
#credits-title a {
  text-decoration: underline;
  color: #287170
}

/* Responsive */
@media (max-width: 900px) {
  #services .cards {
    flex-direction: column;
    align-items: center
  }
  #contact_about .content p {
    columns: 1
  }
  #clients_partners {
    columns: 1;
    max-width: 480px
  }
  nav {
    justify-content: right;
    padding: 0.5rem 1rem
  }
  nav a {
    display: none
  }
  #hamburger {
    display: flex;
    right: 0
  }
  #intro {
    padding: 0 1rem 2rem
  }
  #intro .row.image-title {
    flex-direction: column
  }
  #intro h1 {
    font-size: 2em;
    margin-left: 0;
    height:50px
  }
  h1::after {
    right: -10px
  }
  #intro .button-row button {
    width: 90%;
    font-size: 1rem;
    padding: 1.2rem;
    gap: 1em
  }
  #intro .button-row {
    margin: 0rem auto 2em;
    max-width: 80%;
    gap: 1rem
  }
  #intro ul {
    margin: -1em 0 0 -2em;
    font-size: 1.25em;
  }
  #intro img {
    max-width: 150px;
    max-height: 150px
  }
  h2.section-title {
    max-width: 90%
  }
  #services h3.clients-title {
    max-width: 90%
  }
  .section {
    padding: 3rem 0 3rem;
    max-width: 90%;
    margin: 0
  }
  #services .card {
    flex: 1 1 300px
  }
  #clients_partners {
    padding: 0 1em
  }
  .mobile-break {
    display: initial
  }
  #contact_about{
    background: #287170 url(../img/bg-mobile.jpg);
    background-repeat: no-repeat;
    background-size: cover /*60px, 80px, 60px, 70px, 50px, 80px*/ 
  }
  #contact_about .content {
    padding: 1em
  }
  #contact_about .signature {
    max-width: 75%
  }
}