/* ------ Base ------ */
:root{
  --text:#1a1a1a;
  --bg: #ffffff;
  --accent:#1f6feb;
  --accent-ghost: rgba(31,111,235,0.1);
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
}

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: url('images/hero.png') center top / cover no-repeat fixed;
  /* Static visual look: keep background fixed visually and content scrolls */
  background-attachment: scroll; /* ensure static (poster-style) */
}

/* Overlay hero content */
.hero{
  position: relative;
  min-height: 88vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero .overlay{
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(2px);
  padding: clamp(16px, 5vw, 36px);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 14vh 16px 8vh;
  max-width: 900px;
}

h1{
  font-size: clamp(36px, 6vw, 64px);
  margin:0 0 8px;
  letter-spacing: 0.4px;
}

.tagline{
  font-size: clamp(16px, 2.4vw, 22px);
  margin: 0 0 20px;
}

.cta{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:600;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  will-change: transform;
}

.btn.primary{
  background: var(--accent);
  color:#fff;
  box-shadow: var(--shadow);
}
.btn.primary:hover{ transform: translateY(-2px); }

.btn.ghost{
  background: var(--accent-ghost);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn.ghost:hover{ transform: translateY(-2px); }

.btn.small{
  padding: 10px 14px;
  font-size: 14px;
}

/* Scroll indicator */
.scroll-indicator{
  position:absolute;
  bottom: 16px;
  left:50%;
  transform: translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  color:#333;
  opacity: .85;
  animation: fadeIn 1.6s ease 0.6s both;
}
.scroll-indicator span{
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.scroll-indicator .arrow{
  animation: bounce 1.8s infinite;
}

@keyframes bounce{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

/* Sections */
.section{
  background: rgba(255,255,255,0.9);
  margin: 32px auto;
  padding: clamp(16px, 4vw, 28px);
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: min(960px, 92vw);
}

.section-title{
  margin: 0 0 12px;
  font-size: clamp(22px, 3.2vw, 28px);
}

/* Author */
.author-wrap{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items:start;
}
.author-photo{
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px; /* square with subtle rounding */
  box-shadow: var(--shadow);
}
.author-actions{ margin-top: 10px; }

/* Footer */
.footer{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
  padding: 30px 12px 48px;
  color:#333;
}
.socials{
  display:flex;
  gap: 14px;
}
.icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  border-radius: 999px;
  background:#fff;
  box-shadow: var(--shadow);
  color:#111;
  text-decoration:none;
  transition: transform .15s ease;
}
.icon-link:hover{ transform: translateY(-2px); }

.copyright{
  font-size: 14px;
  text-align:center;
}

/* Fade-in sequence */
.fade-in-1{ animation: fadeIn .9s ease .1s both; }
.fade-in-2{ animation: fadeIn 1.1s ease .25s both; }
.fade-in-3{ animation: fadeIn 1.2s ease .4s both; }

@keyframes fadeIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 640px){
  .author-wrap{
    grid-template-columns: 1fr;
    text-align:left;
  }
  .author-photo{
    width: 120px;
    height: 120px;
  }
}
