:root {
  --velvet: #20021E;
  --bone: #E7E3DE;
  --ember: #C67A45;

  --ink: rgba(231, 227, 222, 0.88);
  --ink2: rgba(231, 227, 222, 0.72);
  --line: rgba(231, 227, 222, 0.14);
  --panel: rgba(0, 0, 0, 0.22);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--velvet);
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

/* -------------------------------- */
/* HERO (FULL-WIDTH + FADE)         */
/* -------------------------------- */



.hero{
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  z-index: 1;
    background-image: url('images/dragonfly-herobg.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;

  /* full-bleed without scrollbar jank */
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero.hero-bg{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

html, body { overflow-x: hidden; }


.hero-headline{
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  color: rgba(231,227,222,0.95);
  letter-spacing: 0.01em;
}

.hero-subhead{
  margin-top: 10px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  color: rgba(231,227,222,0.70);
  font-style: italic;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 2, 30, 0.42); /* slightly lighter */
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(32, 2, 30, 0) 0%,
    rgba(32, 2, 30, 0.10) 12%,
    rgba(32, 2, 30, 0.40) 42%,
    rgba(32, 2, 30, 0.85) 65%,
    rgba(32, 2, 30, 1) 78%
  );
  pointer-events: none;
  z-index: 1;
}

/* Center hero content more elegantly */
.hero-content{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  /* key: bring everything up */
  padding-top: clamp(90px, 12vh, 160px);
  padding-left: 24px;
  padding-right: 24px;

  text-align: center;
}

.hero-content > * {
  max-width: 52ch;
}



.hero .tagline:last-child {
  opacity: 0.7;
  font-style: italic;
}

.signal-divider {
  width: 1px;
  height: 64px;
  margin: 48px auto 64px;
  background: linear-gradient(
    to bottom,
    rgba(231,227,222,0),
    rgba(231,227,222,0.35),
    rgba(231,227,222,0)
  );
}

/* -------------------------------- */
/* LOGO & TAGLINES                  */
/* -------------------------------- */

.logo{
  max-height: min(500px, 50vh);
  width: auto;
  height: auto;
  margin-bottom: clamp(14px, 2.2vh, 26px);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}

.tagline {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.tagline strong {
  font-weight: 600;
  color: var(--bone);
}

.hero .tagline + .tagline {
  margin-top: 6px;
  color: var(--ink2);
}

/* -------------------------------- */
/* BUTTON                           */
/* -------------------------------- */

.button {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 34px;
  background: var(--ember);
  border-radius: 8px;
  color: var(--bone);
  text-decoration: none;
  transition: 0.25s ease;
}

.button:hover {
  box-shadow: 0 0 18px rgba(198,122,69,0.45);
}

/* -------------------------------- */
/* SECTIONS                         */
/* -------------------------------- */

.section {
  margin: 90px 0 70px;
  color: var(--ink);
  font-size: 1.05rem;
}

.section p {
  margin: 0 0 18px;
}

.section p:first-child {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--bone);
}

.section p:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  margin-bottom: 16px;
}

/* -------------------------------- */
/* GATE FORM                        */
/* -------------------------------- */

.signup {
  margin-top: 40px;
}

.sendfox-form {
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}

.sendfox-form p {
  margin: 0 0 14px;
}

.sendfox-form label {
  display: inline-block;
  width: 105px;             /* aligns inputs */
  color: var(--ink2);
  font-size: 0.95rem;
}

.sendfox-form input {
  width: min(420px, 100%);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(231, 227, 222, 0.18);
  background: rgba(0,0,0,0.26);
  color: var(--bone);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sendfox-form input::placeholder {
  color: rgba(231, 227, 222, 0.45);
}

.sendfox-form input:focus {
  border-color: rgba(198, 122, 69, 0.55);
  box-shadow: 0 0 0 4px rgba(198, 122, 69, 0.18);
}

.sendfox-form input::placeholder {
  color: rgba(231, 227, 222, 0.38);
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(198, 122, 69, 0.50);
  background: rgba(198, 122, 69, 0.18);
  color: var(--bone);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(198,122,69,0.18);
  background: rgba(198, 122, 69, 0.24);
}

/* -------------------------------- */
/* FOOTER                           */
/* -------------------------------- */

footer {
  margin-top: 140px;
  text-align: center;
  color: var(--ink2);
}

.footer-logo {
  width: 150px;
  margin-bottom: 14px;
  opacity: 0.9;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.25));
}

.footer-tag {
  margin: 0;
}

@media (max-width: 520px) {
  .sendfox-form label {
    width: auto;
    display: block;
    margin-bottom: 6px;
  }

  .sendfox-form input {
    width: 100%;
  }
}
@media (max-width: 520px){
  .logo{ max-height: 160px; }
  .hero-content{ padding-top: 84px; }
}


