:root {
  --ink: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.82);
  --line: rgba(245, 241, 232, 0.24);
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background: #111;
}

.hero-shell {
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 48px);
  background-image: url("./assets/hero-sydney.jpg");
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, rgba(10, 10, 10, 0.42) 45%, rgba(10, 10, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.52) 0%, rgba(10, 10, 10, 0.16) 58%, rgba(10, 10, 10, 0.30) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  padding: 0;
}

.hero-kicker {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-wordmark {
  display: block;
  width: min(100%, 560px);
  height: auto;
  box-shadow: 0 24px 50px var(--shadow);
}

.hero-line {
  max-width: 24ch;
  margin: 34px 0 0;
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.02;
}


.hero-cta:focus-visible {
  outline: 2px solid rgba(245, 241, 232, 0.5);
  outline-offset: 2px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.28);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  cursor: pointer;
  margin-top: 28px;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: rgba(245, 241, 232, 0.12);
}


@media (min-width: 1200px) {
  .hero {
    padding: 42px;
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: flex-end;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    background-position: center 38%;
    background-size: cover;
  }

  .hero-content {
    width: 100%;
    max-width: 292px;
  }

  .hero-wordmark {
    width: min(100%, 280px);
  }

  .hero-line {
    max-width: 13ch;
    margin-top: 18px;
    font-size: clamp(1.2rem, 5.6vw, 1.7rem);
    line-height: 1;
  }

  .hero-kicker {
    margin-bottom: 14px;
    font-size: 0.72rem;
  }


  .hero-cta {
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    padding: 0 18px;
    font-size: 0.84rem;
  }
}
