/* WHK responsive single-page landing page
   Add your licensed Gantry-Bold webfont to assets/fonts/ as:
   Gantry-Bold.woff2 (preferred) and/or Gantry-Bold.woff
*/
@font-face {
  font-family: "Gantry-Bold";
  src: url("assets/fonts/Gantry-Bold.woff2") format("woff2"),
       url("assets/fonts/Gantry-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --accent: #e6c51d;
  --page-gutter: 5vw;
  --page-gutter: clamp(1.25rem, 5.2vw, 5.5rem);
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background: #07131b;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  padding: 2.2rem 5vw 1.8rem;
  padding: clamp(1.25rem, 3.5vh, 2.8rem) var(--page-gutter)
           clamp(1.25rem, 3vh, 2.25rem);
}

.hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-image: url("assets/sport-arena-wien.jpg");
  background-size: cover;
  background-position: center 54%;
  background-repeat: no-repeat;
  transform: scale(1.012);
}

.hero__shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 12, 20, .60) 0%, rgba(2, 12, 20, .30) 52%, rgba(2, 12, 20, .08) 100%),
    linear-gradient(0deg, rgba(2, 10, 16, .76) 0%, rgba(2, 10, 16, .08) 58%, rgba(2, 10, 16, .20) 100%);
}

.brand,
.tagline,
.message {
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.brand__logo {
  display: block;
  width: 210px;
  width: clamp(145px, 19vw, 270px);
  height: auto;
  max-height: 25vh;
  max-height: 25svh;
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 3px 16px rgba(0, 0, 0, .24));
}

/* Three-line brand statement: upper-right, over the open sky.
   Uses the same Gantry-Bold face as the main headline. */
.tagline {
    width: 48%;
    max-width: 760px;
    margin-top: -1vh;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: auto;
    padding: 0;
    color: #ffffff;
    font-family: "Gantry-Bold", "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 2.6rem;
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-align: right;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .48);
}

.tagline span {
  display: block;
}

.tagline span:nth-child(2) {
  color: #e6c51d;
}

.message {
  width: 100%;
  max-width: 1120px;
  width: min(100%, 1120px);
  margin-top: auto;
  margin-bottom: 4.5rem;
  margin-bottom: clamp(2rem, 8vh, 6.5rem);
  padding-top: 3rem;
  padding-top: clamp(2rem, 6vh, 4.5rem);
}

.message h1 {
  max-width: 1080px;
  margin: 0;
  color: #fff;
  font-family: "Gantry-Bold", "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 3.6rem;
  font-size: clamp(2rem, 4.55vw, 4.65rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .26);
}

@media (min-width: 1500px) {
  .message {
    max-width: 1280px;
    width: min(100%, 1280px);
  }
  .message h1 {
    max-width: 1200px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 1.25rem 1.25rem 1.1rem;
  }

  .hero__image {
    background-position: 53% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 12, 20, .48), rgba(2, 12, 20, .18)),
      linear-gradient(0deg, rgba(2, 10, 16, .88) 0%, rgba(2, 10, 16, .42) 54%, rgba(2, 10, 16, .14) 100%);
  }

  .brand__logo {
    width: 155px;
    width: clamp(118px, 34vw, 185px);
    max-height: 18vh;
    max-height: 18svh;
  }

  .tagline {
    width: 100%;
    max-width: none;
    margin-top: 4vh;
    margin-bottom: auto;
    font-size: 2rem;
    font-size: clamp(1.65rem, 7vw, 2.5rem);
    line-height: 1.12;
  }

  .message {
    margin-bottom: 3rem;
    margin-bottom: clamp(2.3rem, 8vh, 4rem);
    padding-top: 2rem;
  }

    .message h1 {
    max-width: 16ch;
    font-size: 2.6rem;
    font-size: clamp(2rem, 8.2vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

 @media (max-width: 380px) {
  .tagline {
    font-size: 1.65rem;
    line-height: 1.1;
  }
  .message h1 {
    font-size: 2rem;
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }
@media (max-height: 620px) and (min-width: 701px) {
  .hero { min-height: 620px; }
  .message { margin-bottom: 1.8rem; padding-top: 1rem; }
  .message h1 {
    font-size: 2.75rem;
    font-size: clamp(2.1rem, 5.3vh, 3.4rem);
  }
  .brand__logo {
    width: 160px;
    width: clamp(120px, 14vw, 190px);
    max-height: 20vh;
  }
  .tagline {
    font-size: 2rem;
    font-size: clamp(1.6rem, 4vh, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
'''

(work / "index.html").write_text(html, encoding="utf-8")
(work / "styles.css").write_text(css, encoding="utf-8")

