:root{
  --bg:     #edf3f3;
  --text:   #10191a;
  --muted:  #51615f;
  --accent: #1f5f66;
  --line:   rgba(13,28,30,0.14);
}

*,*::before,*::after{ box-sizing: border-box; }

html,body{
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
}

.back-link{
  position: fixed;
  top: 26px;
  right: 9vw;
  z-index: 30;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  opacity: 0.75;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.back-link:hover, .back-link:focus-visible{
  opacity: 1;
  border-color: var(--accent);
}

.project{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 6vw;
}

.intro{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 0 3rem;
}

.kicker{
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

h1{
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.teaser{
  text-wrap: pretty;
  text-align:left; /*teaser*/
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
}

.cta{ display:flex; justify-content:center; padding:0 0 10vh; }

.deck-btn{
  display:inline-flex; align-items:center; gap:0.7em;
  font-family:'Inter', sans-serif; font-weight:500; font-size:0.85rem;
  letter-spacing:0.12em; text-transform:uppercase; text-decoration:none;
  color:var(--accent); border:1px solid var(--accent); padding:1.05em 2.1em;
  transition:background .25s ease, color .25s ease;
}
.deck-btn.is-disabled{ opacity:0.45; cursor:default; border-style:dashed; }

@media (max-width:600px){
  .back-link{ right:6vw; }
  .intro{ padding-top:7rem; }
}
