@font-face {
  font-family: "Druk";
  src: url("/fonts/Druk-CondSuper.otf") format("opentype");
}

@font-face {
  font-family: "HelveticaLT";
  src: url("/fonts/HelveticaLTStd-Roman.otf") format("opentype");
}

@font-face {
    font-family: "Twemoji";
    src: url("/fonts/twemoji.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "HelveticaLT", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.modal-open #page {
  filter: blur(6px);
}

.site-header {
  height: 62px;
  border-bottom: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

.brand-icon {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

.brand-title {
  font-family: "Druk", Impact, sans-serif;
  font-size: 42px;
  letter-spacing: 14px;
}

.contact-link {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.hero {
  width: 100%;
  background: #000;
}

.hero-video {
  width: 100%;
  display: block;
}

.separator {
  height: 18px;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
  background:
    linear-gradient(#000, #000) center 3px / 100% 4px no-repeat,
    #fff;
}

.section {
  padding: 70px 8vw;
}

.section h1 {
  font-family: "Druk", Impact, sans-serif;
  font-size: 56px;
  letter-spacing: 18px;
  margin: 0 0 60px;
}

.app-section {
  background: url("/images/background_diffuse_1_LD.png") center / cover no-repeat;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9vw;
  align-items: start;
}

.app-grid img {
  width: 100%;
  border: 1px solid #000;
}

.project-section{
    position:relative;
    overflow:hidden;

    background:#050505;
    color:#fff;

    min-height: 80vh;

}

.project-section .section-bg{

    position:absolute;
    inset:0;

    background-image:url("/images/background_diffuse_2_LD.png");
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;

    opacity:1;

    pointer-events:none;

    z-index:0;
}

.project-section .section-content{
    position: relative;
    z-index: 1;

    height: 100%;
    min-height: inherit;

    display: grid;
    grid-template-rows: auto 1fr;
}

.project-list {
    max-width: 760px;

    width: 100%;

    margin: 0 auto;

    display: grid;
    gap: 42px;

    align-self: center;
}

.project-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 28px;
}

.emoji {
    font-family: "Twemoji", "Segoe UI Emoji", sans-serif;
    font-size: 54px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow:
         1px  1px 0 #fff,
        -1px  1px 0 #fff,
         1px -1px 0 #fff,
        -1px -1px 0 #fff,
         1px  0    0 #fff,
        -1px  0    0 #fff,
         0    1px  0 #fff,
         0   -1px  0 #fff;
}

.project-list p {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
}

.crowdfunding-section {
  background: url("/images/background_diffuse_3_LD.png") center / cover no-repeat;
  min-height: 90vh;
}

.crowdfunding-link {
    text-decoration: none;
    color: inherit;
}

.crowdfunding-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.crowdfunding-card img {
  width: min(760px, 90%);
  height: auto;
  display: block;
}

.crowdfunding-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 260px;
    height: 58px;

    padding: 0 40px;

    border: 2px solid #000;
    background: #fff;
    color: #000;

    font-family: "HelveticaLT", Arial, sans-serif;
    font-size: 18px;
    letter-spacing: 3px;

    cursor: pointer;
    transition: all .25s ease;
}

.crowdfunding-button:hover {
    background: #000;
    color: #fff;
}

.mantra-section{
    position:relative;
    overflow:hidden;

    background:#050505;
    color:#fff;

    min-height:100vh;
}

.mantra-section .section-bg{

    position:absolute;
    inset:0;

    background-image:url("/images/background_diffuse_4_LD.png");
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;

    opacity:1;

    pointer-events:none;

    z-index:0;
}

.mantra-section .section-content{

    position:relative;
    z-index:1;
}

.mantra-card{

    display:flex;
    justify-content:center;
    align-items:center;

    height:calc(100% - 120px);
}

.mantra-card img{

    width:min(520px,90%);
    height:auto;

    display:block;

    border:2px solid #000;

    box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.site-footer {
  text-align: center;
  padding: 70px 20px;
  font-size: 13px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-overlay.active {
  display: flex;
}

.contact-modal {
  width: min(560px, calc(100% - 32px));
  background: #fff;
  border: 3px solid #000;
  padding: 34px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
}

.contact-modal h2 {
  font-family: "Druk", Impact, sans-serif;
  font-size: 48px;
  letter-spacing: 12px;
  margin: 0 0 28px;
}

.contact-modal form {
  display: grid;
  gap: 14px;
}

.contact-modal input,
.contact-modal textarea {
  width: 100%;
  border: 2px solid #000;
  padding: 14px;
  font: inherit;
}

.contact-modal textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-modal button[type="submit"] {
  border: 2px solid #000;
  background: #000;
  color: #fff;
  padding: 14px;
  font: inherit;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .brand-title {
    font-size: 34px;
    letter-spacing: 9px;
  }

  .app-grid {
    grid-template-columns: 1fr;
    max-width: 330px;
    margin: 0 auto;
    gap: 42px;
  }

  .section h1 {
    font-size: 44px;
    letter-spacing: 12px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0 14px;
  }

  .brand-title {
    font-size: 28px;
    letter-spacing: 6px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 52px 24px;
  }

  .project-list article {
    grid-template-columns: 1fr;
    text-align: center;
  }
}