:root {
  --ink: #171817;
  --soft-ink: rgba(18, 19, 18, 0.92);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  background: #bda98e;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: url("CH_Santis_DSC_1323bis.jpg") center center / cover no-repeat;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 36%, rgba(11,12,11,.08) 100%),
    radial-gradient(circle at 50% 16%, rgba(255,255,255,.13), transparent 40%);
}

/* Desktop: logo left, copy right, both held inside the upper sky. */
.hero__content {
  min-height: 100svh;
  width: 100%;
  margin: 0;
  padding: clamp(18px, 2.3vw, 34px) clamp(34px, 5.6vw, 86px);
  display: grid;
  grid-template-columns: auto minmax(620px, 1fr);
  align-items: start;
  justify-content: space-between;
  gap: 48px;
  text-align: right;
}

.hero__logo {
  width: clamp(92px, 8vw, 128px);
  height: auto;
  display: block;
  opacity: .92;
}

.hero__copy {
  padding-top: 0;
  text-shadow: 0 1px 2px rgba(255,255,255,.72), 0 0 18px rgba(255,255,255,.22);
}

h1 {
  margin: 0;
  white-space: nowrap;
  /* V2 max 4.65rem -> V3 max 3.255rem: exactly 30% smaller. */
  font-size: clamp(1.55rem, 2.87vw, 3.255rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .105em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(255,255,255,.78), 0 0 20px rgba(255,255,255,.26);
}

h1 span { display: block; }

p {
  max-width: none;
  white-space: nowrap;
  margin: clamp(18px, 2.2vh, 26px) 0 0 auto;
  font-size: clamp(.80rem, 1vw, .98rem);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: .065em;
  color: var(--soft-ink);
  text-shadow: 0 1px 2px rgba(255,255,255,.76), 0 0 14px rgba(255,255,255,.24);
}


@media (min-width: 721px) and (max-width: 1180px) {
  .hero__content {
    grid-template-columns: auto minmax(540px, 1fr);
    gap: 28px;
  }

  h1 {
    font-size: clamp(1.4rem, 2.55vw, 2.2rem);
    letter-spacing: .085em;
  }

  p {
    font-size: clamp(.72rem, .88vw, .9rem);
    letter-spacing: .04em;
  }
}

/* Mobile: return to stacked, centered composition. */
@media (max-width: 720px) {
  .hero { background-position: 56% center; }

  .hero__content {
    width: 100%;
    min-height: 100svh;
    padding: max(20px, 3vh) 22px max(32px, 5vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: center;
  }

  .hero__logo { width: clamp(92px, 25vw, 122px); }

  .hero__copy {
    width: 100%;
    margin-top: clamp(42px, 8vh, 72px);
    padding-top: 0;
  }

  h1 {
    white-space: normal;
    font-size: clamp(1.45rem, 6.1vw, 2rem);
    line-height: 1.16;
    letter-spacing: .075em;
  }

  p {
    max-width: 33rem;
    white-space: normal;
    margin: 24px auto 0;
    font-size: .82rem;
    line-height: 1.65;
    letter-spacing: .045em;
  }
}

@media (max-width: 420px) {
  .hero { background-position: 59% center; }
  h1 { letter-spacing: .055em; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__logo, .hero__copy { animation: reveal .9s ease-out both; }
  .hero__copy { animation-delay: .12s; }
  @keyframes reveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
