:root{
  --ink:royalblue;   /* slate-800 */
  --muted:royalblue; /* gray-500 */
  --panel:#E8F0FB; /* very light gray */
  --accent:royalblue;/* sky-500 */
}

/* Base */
*{box-sizing:border-box}
html,body{
  font-family:'Nunito', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  line-height:1.45;
}

/* Layout */
.wrapper{
  max-width:1400px;
  margin:0 auto;
  padding:24px 16px 48px;
}

.hero-grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); /* ~40% / 60% */
  gap:20px;
  align-items:stretch;
}

/* Narrative */
.narrative{
  background:var(--panel);
  padding:32px 28px;
  border:2px solid royalblue;
  border-radius:20px;
  text-align: left;
}
.narrative h2{
  font-size:clamp(22px, 3vw, 36px);
  margin:0 0 16px 0;
  font-weight:700;
}
.narrative h3{
  font-size:clamp(16px, 2.4vw, 24px);
  margin:0 0 16px 0;
  font-weight:800;
}
.narrative p{
  margin:0 0 10px 0;
  color:var(--muted);
  font-size:clamp(18px, 2.4vw, 26px);
}
.narrative .tight p{ margin:6px 0; }

/* Slider frame */
.slider-frame{
  position:relative;
  border-radius:20px;
}
.slider-clip{
  width:100%;
  height:100%;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  aspect-ratio: 16 / 9;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.slides{
  display:flex;
  height:100%;
  transition: transform .6s ease;
  will-change: transform;
}
.slide{
  min-width:100%;
  height:100%;
  margin:0; padding:0;
  display:flex; align-items:center; justify-content:center;
  background:transparent;
}
.slide img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  backface-visibility:hidden;
}

/* Dots */
.dots{
  position:absolute; left:0; right:0; bottom:10px;
  display:flex; gap:8px; justify-content:center;
}
.dots button{
  width:10px; height:10px; border-radius:999px; border:0;
  background:#d1d5db; cursor:pointer; padding:0;
}
.dots button[aria-current="true"]{ background:var(--accent); }

/* Mobile title defaults to hidden on desktop */
.mobile-title{
  display:none;
  margin: 0 0 0px;
  text-align:center;
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 26px);
  color: var(--ink, royalblue);
}


/* Subscribe CTA */
.subscribe-cta{
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}
.subscribe-btn{
  appearance: none;
  border: 0;
  border-radius: 50px;
  padding: 12px 200px;
  font-weight: 500;
  font-size: 26px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.subscribe-btn:focus{
  outline: 3px solid rgba(14,165,233,.35);
  outline-offset: 2px;
}
.subscribe-btn:hover{ filter: brightness(1.20); }
.subscribe-btn:active{ transform: translateY(1px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .slides{ transition:none !important; }
}

/* Mobile behavior */
@media (max-width:1199px){
  .hero-grid{
    grid-template-columns: 1fr;
    justify-items: center;
  }
  /* Hide the left text panel on small screens */
  .narrative{ display:none; }

  /* Center the slideshow and constrain width */
  .slider-frame{
    width: 80%;
    margin: 0 auto;
  }
  .subscribe-btn{
      padding: 10px 2px;
      font-size: 18px;
      width: 60%;
      margin: 0 auto;
    }
}