/* Roboto, self-hosted (SIL Open Font License 1.1). Browser only downloads the subsets/weights it needs. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --accent: #156082;       /* client's brand blue (from the PPTX) */
  --accent-hover: #1b77a1;
  --focus: #7cc4e8;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background-color: #0b0f14;
  /* Darkened photo so the white text stays readable */
  background-image:
    radial-gradient(ellipse at center, rgba(5, 8, 12, 0.45) 0%, rgba(5, 8, 12, 0.8) 100%),
    linear-gradient(rgba(5, 8, 12, 0.25), rgba(5, 8, 12, 0.25)),
    url("assets/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem 2rem;
  gap: 0;
}

.title {
  font-weight: 700;
  font-size: clamp(2.5rem, 7.5vw, 8.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.tagline {
  margin-top: clamp(1rem, 2.5vw, 2.5rem);
  max-width: 60ch;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 2.4rem);
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.soon {
  margin-top: clamp(1.5rem, 3.5vw, 3.5rem);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.8rem);
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact {
  margin-top: clamp(2.25rem, 5vw, 5rem);
  display: inline-block;
  padding: 0.95em 2.4em;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  letter-spacing: 0.06em;
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(21, 96, 130, 0.45);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact:hover {
  background: var(--accent-hover);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 30px rgba(27, 119, 161, 0.55);
}

.contact:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.footer {
  padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  text-align: center;
  font-size: clamp(0.8rem, 0.8vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
}

/* Short screens (phones in landscape) */
@media (max-height: 500px) {
  .hero { padding-top: 1.5rem; padding-bottom: 0.5rem; }
  .title { font-size: clamp(2rem, 11vh, 4rem); }
  .tagline { margin-top: 0.6rem; }
  .soon { margin-top: 1rem; }
  .contact { margin-top: 1.25rem; }
  .footer { padding-top: 0.6rem; padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
}

/* Gentle fade-in on load */
@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    opacity: 0;
    transform: translateY(8px);
    animation: rise 0.8s ease forwards;
  }
  .hero > :nth-child(2) { animation-delay: 0.12s; }
  .hero > :nth-child(3) { animation-delay: 0.24s; }
  .hero > :nth-child(4) { animation-delay: 0.36s; }

  @keyframes rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
}
