
:root{
  --bg-deep:#081630;
  --bg-sky:#122f65;
  --accent:#B84A5A;
  --accent-strong:#c65b6d;
  --header-h:72px;
  --footer-h:44px;
  --bgY:24%;
  --bgX:50%;
  --text-glow:0 2px 8px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{height:100%; margin:0; padding:0; overflow:hidden;}
body{font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif; color:#fff; background:linear-gradient(180deg,var(--bg-deep),var(--bg-sky));}
.serif{font-family:'Libre Baskerville', Georgia, 'Times New Roman', serif;}
.container{max-width:1200px; margin:0 auto; padding:0 24px}

/* Header */
.header{position:fixed; inset:0 0 auto 0; height:var(--header-h); z-index:50; background:linear-gradient(90deg,var(--bg-deep),var(--bg-sky));}
.header-row{height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:0 24px}
.brand-img{display:block; height:38px; width:auto; filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));}
.nav a{position:relative; color:#fff; text-decoration:none; opacity:.95; padding:.25rem 0; margin-left:24px; letter-spacing:.6px}
.nav a::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:linear-gradient(90deg,#ffffffb3,#fff); transition:width .25s ease}
.nav a:hover::after{width:100%}
.menu-btn{display:none; background:transparent; border:0; color:#fff; font-size:22px}
@media (max-width:768px){ .nav{display:none} .menu-btn{display:inline-block} }
.mobile{display:none; background:rgba(16,43,86,.95); padding:16px 24px}
.mobile a{display:block; color:#fff; text-decoration:none; padding:8px 0; opacity:.9}

/* Hero — precise focal control */
.hero{position:relative; margin-top:var(--header-h); height:calc(100svh - var(--header-h));}
/* --- Mobile hero image swap --- */
/* --- Mobile hero image swap --- */
@media (max-width: 768px) {
  .hero .media img {
    content: url("assets/images/small_hero.png");
    object-position: center top;
  }
}

.media{position:absolute; inset:0; overflow:hidden; z-index:0}
.media img{position:absolute; width:100%; height:100%; object-fit:cover; object-position:var(--bgX) var(--bgY); transform:translateZ(0);}
@media (prefers-reduced-motion: reduce){ .media img{transform:none} }
/* Keep overlay from darkening under the footer (bottom inset) */
.overlay{position:absolute; left:0; right:0; top:0; bottom:var(--footer-h); pointer-events:none; z-index:0;
  background:
    radial-gradient(380px 220px at 32% 22%, rgba(255,190,120,.18), transparent 60%),
    radial-gradient(100% 60% at 50% 100%, rgba(0,0,0,.30), transparent 60%),
    linear-gradient(180deg, rgba(198,82,100,.12), rgba(16,43,86,.16));
}
.hero .inner{position:relative; z-index:1; height:calc(100% - var(--footer-h)); display:grid; place-items:center; padding:0 24px;}
.center-wrap{text-align:center; max-width:min(44rem, 92vw); margin:0 auto;}

/* Type */
.hero-title{margin:0 0 12px; font-weight:800; letter-spacing:.3px; text-shadow:var(--text-glow);
  font-size:clamp(28px, 3.8vw, 52px); line-height:1.08;}
.lead{margin:0 auto; font-size:clamp(15.5px, 1.45vw, 18.5px); line-height:1.65; opacity:.97; text-shadow:var(--text-glow);}

/* CTA */
.cta{display:inline-block; margin-top:18px; padding:12px 24px; border-radius:999px; font-weight:800; text-decoration:none; color:#fff;
  background:linear-gradient(180deg,var(--accent),var(--accent-strong));
  box-shadow:0 8px 20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1) inset;
  transition:transform .18s ease, filter .18s ease;}
.cta:hover{transform:translateY(-2px); filter:brightness(1.05);}
.cta-secondary{display:block; margin-top:8px; color:#fff; opacity:.9; text-decoration:none}
.cta-secondary:hover{opacity:1; text-decoration:underline}

/* ===== FOOTER FIXES ===== */
footer.footer {
  height: 56px;
  background: linear-gradient(90deg, #081630, #122f65);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

footer .row {
  height: 100%;
  display: flex;
  align-items: center; /* ensures vertical centering */
  justify-content: space-between;
  padding: 0 24px;
  font-size: 12px;
}

footer .row > * {
  display: flex;
  align-items: center; /* aligns icon and text together */
  gap: 12px;
}

footer .links {
  gap: 16px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  line-height: 1;
}

footer a:hover {
  opacity: 1;
}

/* Social icon button */
.links a.icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.links a.icon:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.links a.icon img {
  display: block;
  width: 16px;
  height: 16px;
  filter: none; /* ensures solid white SVG */
}


/* --- Mobile footer layout --- */
@media (max-width: 640px) {
  /* grow the footer so the page still fits without scroll */
  :root { --footer-h: 85px; }                 /* was 56/44 before */

  footer.footer { height: var(--footer-h); }

  footer .row {
    flex-direction: column;                   /* stack vertically */
    align-items: center;                      /* center content */
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    text-align: center;
  }

  /* Show social + links first */
  footer .links {
    order: 1;
    gap: 16px;                                /* spacing between items */
    flex-wrap: wrap;                          /* allows wrap on very narrow screens */
    white-space: normal;                      /* let links wrap if needed */
    justify-content: center;
  }

  /* Copyright underneath */
  footer .copyright {
    order: 2;
    opacity: 0.85;
    font-size: 11px;
    line-height: 1.2;
  }

  /* Larger, touch-friendly icon button on mobile */
  .links a.icon {
    width: 36px;
    height: 36px;
  }
  .links a.icon img {
    width: 18px;
    height: 18px;
  }
}


/* Motion */
@keyframes fadeUp{from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:translateY(0)}}
.reveal{opacity:0; animation:fadeUp .55s ease forwards}
.reveal-1{animation-delay:.1s}
.reveal-2{animation-delay:.22s}
.reveal-3{animation-delay:.34s}
.hidden{display:none}
