:root{
  --blue:#96cff1;
  --yellow:#f2b549;
  --blend:#c4c29d; /* mid tone for smooth split */
  --black:#000;
  --accent:#00f;

  --title: clamp(20px,2.4vw,36px);
  --support: clamp(15px,1.6vw,21px);
  --meta: clamp(11px,1vw,14px);

  /* tighter, but still responsive */
  --story-gap: clamp(24px, 3.25vw, 55px);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:"Manrope",system-ui,sans-serif;
  background:linear-gradient(90deg,var(--blue) 0%,var(--blue) 30%,#d9caa0 50%,var(--yellow) 70%,var(--yellow) 100%);
  overflow:hidden;
}

.hero{
  /* Use the dynamic viewport unit so mobile address bars don't break the fit */
  min-height:100svh;
  height:100svh;

  /* Best-practice hero layout: treat it as stacked regions and distribute
     them evenly without squeezing content into overlaps. */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  text-align:center;

  padding:clamp(18px,3.2vh,34px) 16px;
  gap:clamp(12px,2.2vh,22px);
}

/* Logo */
.logo{
  width:clamp(320px,55vw,640px);
  max-height:28vh;
}

/* STORY — CENTERLINE ANCHORED */
.hero__story{
  position:relative;
  width:100%;
  max-width:1100px;
  /* Stable “story band” height on desktop */
  height:clamp(150px, 22vh, 230px);
}

.story{
  position:relative;
  width:100%;
  height:100%;
}

.story__block{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:min(420px, 48vw);
}

.story__block--left{
  left:auto;
  /* Anchor to the TRUE split line (50%) then offset with a symmetric gap */
  right:50%;
  margin-right:var(--story-gap);
  text-align:center;
}

.story__block--right{
  left:50%;
  margin-left:var(--story-gap);
  text-align:center;
}

.story__title{
  font-weight:700;
  text-transform:uppercase;
  font-size:var(--title);
  letter-spacing:0.11em;
  line-height:1.05;
  color:rgba(0,0,0,0.85);
}

.story__sub{
  margin-top:14px;
  font-size:var(--support);
  line-height:1.22;
  color:rgba(0,0,0,0.75);
}

/* Bridge */
.hero__bridge{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

.bridge__line{
  width:56px;
  height:2px;
  background:rgba(0,0,0,0.85);
}

.bridge__text{
  font-size:var(--support);
  line-height:1.22;
  color:rgba(0,0,0,0.8);
}

/* CTA */
.cta{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:12px 26px;
  background:var(--black);
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.14em;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.cta__dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--accent);
}

/* Footer */
.hero__meta{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.contact{
  font-size:var(--meta);
}

.contact a{
  color:rgba(0,0,0,0.8);
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,0.25);
}

.micro{
  font-size:var(--meta);
  color:rgba(0,0,0,0.55);
  letter-spacing:.06em;
}

@media (max-width: 820px){
  .hero{
    padding:clamp(16px,2.8vh,26px) 16px;
    gap:clamp(12px,2.2vh,20px);
  }

  /* Long, tracked headings can look visually "off" on narrow screens.
     Slightly reduce size/letter-spacing so each label stays centered and readable. */
  .story__title{
    font-size: clamp(20px, 6vw, 30px);
    letter-spacing: 0.14em;
  }

  .hero__story{ height:auto; }

  /* Mobile best practice: keep the split background, but let the content
     read as a single centered column. This prevents long, tracked headings
     from being clipped by the 50/50 split. */
  .story{
    position: static;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: clamp(18px, 3.4vh, 30px);
  }
  .story__block{
    position: static;
    transform: none;
    width:100%;
    max-width: 520px;
    text-align:center;
  }
  .story__block--left,
  .story__block--right{
    left:auto;
    right:auto;
    margin:0;
  }
}

/* Short-height devices: tiny downscale to keep everything visible without scroll */
@media (max-height: 700px){
  :root{ --story-gap: 22px; }
  .cta{ transform: scale(.96); }
}

