@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  color-scheme: dark;
  --bg: #0a0b0f;
  --panel: #14161d;
  --panel-2: #1a1d26;
  --text: rgba(255,255,255,0.96);
  --muted: rgba(255,255,255,0.70);
  --muted-2: rgba(255,255,255,0.52);
  --accent: #f64749;
  --accent-press: #d13234;
  --line: rgba(255,255,255,0.12);
  --shadow: 0 28px 80px rgba(0,0,0,0.55);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --page-gap: 16px;
  --app-height: 100vh;
}

*{ box-sizing: border-box; }
html, body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

html{ scroll-behavior: smooth; }

body{
  background-image:
    radial-gradient(900px 540px at 80% -10%, rgba(246,71,73,0.22), transparent 62%),
    radial-gradient(640px 420px at 10% 15%, rgba(255,255,255,0.05), transparent 60%);
  background-attachment: fixed;
}

.page{
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 0 20px calc(56px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(140deg, rgba(24,24,32,0.98), rgba(12,12,16,0.98));
  box-shadow: var(--shadow);
  min-height: calc(var(--app-height) - (var(--page-gap) * 2));
  margin: var(--page-gap) 0;
}

.heroBackdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 240px at 18% 0%, rgba(246,71,73,0.24), transparent 70%),
    radial-gradient(360px 200px at 100% 0%, rgba(255,255,255,0.08), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.heroGlow{
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 260px;
  background: radial-gradient(circle, rgba(246,71,73,0.30), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.heroInner{
  position: relative;
  padding: calc(32px + var(--safe-top)) 28px calc(28px + var(--safe-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  min-height: 100%;
  gap: 20px;
}

.logo{
  width: 160px;
  height: auto;
  justify-self: center;
  margin-top: 18px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.35));
}

.heroCopy{
  text-align: center;
  display: grid;
  gap: 10px;
}

.heroEyebrow{
  margin: 0;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

h1{
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

.heroLead{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.heroActions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-self: end;
  margin-bottom: calc(8px + var(--safe-bottom));
}

.section{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#team{ scroll-margin-top: 16px; }

.sectionHead{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sectionKicker{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.sectionLead{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

h2{
  margin: 0;
  font-size: 22px;
}

.cards{
  display: grid;
  gap: 16px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}

.cardTop{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.avatar{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(246,71,73,0.18);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.cardTitle h3{
  margin: 0;
  font-size: 18px;
}

.cardTitle p{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.status{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--muted);
}

.cardBody{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.availability{
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.contactList{
  display: grid;
  gap: 6px;
}

.contactLink{
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.cardActions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn.primary{
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(246,71,73,0.35);
}

.btn.primary:active{ background: var(--accent-press); }

.btn.ghost{
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.btn.soft{
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.btn.outline{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

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

.cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(246,71,73,0.20), rgba(24,24,32,0.95));
  border: 1px solid rgba(246,71,73,0.35);
  box-shadow: var(--shadow);
}

.footer{
  text-align: center;
  color: var(--muted-2);
  font-size: 12px;
}

@supports (height: 100dvh){
  :root{
    --app-height: 100dvh;
  }
}

@supports (height: 100svh){
  :root{
    --app-height: 100svh;
  }
}

@media (max-width: 720px){
  .hero{
    height: calc(var(--app-height) - (var(--page-gap) * 2));
    min-height: calc(var(--app-height) - (var(--page-gap) * 2));
    max-height: calc(var(--app-height) - (var(--page-gap) * 2));
  }
  .heroInner{
    height: 100%;
    min-height: 100%;
    padding: calc(18px + var(--safe-top)) 20px calc(18px + var(--safe-bottom));
    gap: 10px;
  }
  .logo{
    width: 136px;
    margin-top: 8px;
  }
  .heroActions{
    grid-template-columns: 1fr;
    margin-bottom: calc(4px + var(--safe-bottom));
  }
  .heroEyebrow{ font-size: clamp(20px, 5.4vw, 30px); }
  h1{ font-size: clamp(24px, 7vw, 38px); }
  .heroLead{ font-size: 14px; }
  .cta{
    flex-direction: column;
    align-items: flex-start;
  }
  .cta .btn{
    width: 100%;
  }
}

@media (max-width: 520px){
  .cardTop{
    grid-template-columns: auto 1fr;
  }
  .status{
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
}
