/* Aenya landing — minimal */

:root{
  --bg: #f7f6f7;      /* warm off-white */
--tagline-font: "Libre Baskerville", serif;
 --tagline-color: #3a3a3a;
  --brand-color: #7a7a7a;
  --cta-color: #9c9c9c;

  --cta-hover-color: #2a2a2a;
  --cta-underline: currentColor;
}

body{
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.hero{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 36px 6vw 10vh;
}

.header{
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.brand{
  margin-bottom: 0;          /* remove the huge gap */
}

.stack{
  width: min(920px, 100%);
  margin: auto;              /* centers vertically within the remaining space */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Brand */
.brand{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--brand-color);
  margin-bottom: 8vh; /* gives the tagline room */
  user-select: none;
   transition: letter-spacing 600ms cubic-bezier(0.33, 1, 0.68, 1);
     margin-bottom: 60px;
}

.brand:hover {
  letter-spacing: 0.2em;  /* from 0.16em */
  cursor: pointer;
}

/* Tagline (Canela stand-in for now) */
.tagline{
    font-family: var(--tagline-font), Georgia, serif;
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 92px);
  line-height: 1.125;         /* more breathing room between lines */
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--tagline-color);
  margin-bottom: 5vh;   
}

.tagline .line{
  display: block;
}

/* CTA */
.cta{
  margin-top: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--cta-color);
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
}

/* Underline only */
.cta::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  opacity: 0.4;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.cta:hover::after,
.cta:focus-visible::after{
  transform: scaleX(1);
}

/* No colour change on hover */
.cta:hover,
.cta:focus-visible{
  color: var(--cta-color);
}

/* Mobile tuning */
@media (max-width: 520px){
  .brand{
    font-size: 20px;
    letter-spacing: 0.14em;
    margin-bottom: 4vh;        /* tighter connection to tagline */
  }
  
  .tagline{
    font-size: clamp(68px, 15vw, 92px);  /* slightly larger minimum */
    margin-bottom: 6vh;        /* more breathing room to CTA */
  }
  
  .cta{
    margin-top: 0;
    font-size: 17px;
  }
  
  .hero{
    padding-top: 28px;         /* shift everything down slightly */
    padding-bottom: 8vh;       /* ensure bottom padding */
  }
}