@font-face {
  font-family: "Inter Tight";
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight.woff2") format("woff2");
}
:root {
  --bg: #c2d3db;        /* photo haze, before tint */
  --horizon: 69%;       /* waterline in the photo */
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  min-height: 100vh; min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
  font-family: "Inter Tight", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.photo {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 25% var(--horizon);
  pointer-events: none;
  user-select: none;
}

/* colour grade: multiply darkens and cools without adding contrast (no extra noise) */
.tint {
  position: fixed; inset: 0; pointer-events: none;
  mix-blend-mode: multiply;
  background: linear-gradient(180deg, #a3a7ae 0%, #abb0b8 30%, #b4b6be 52%, #b5b6be 62%, #afb2ba 70%, #abafb7 78%, #a7aab3 90%, #a0a3ac 100%);
}

.mark {
  position: fixed;
  right: 8vw;
  bottom: calc(100% - var(--horizon));
  margin: 0;
  max-width: 48vw;
  font-weight: 800;
  font-size: clamp(52px, 8vw, 136px);
  line-height: .9;
  letter-spacing: -.045em;
  text-align: right;
  text-wrap: balance;
  opacity: .86;
}

.imprint {
  position: fixed;
  right: 8vw; bottom: 5vh;
  margin: 0;
  font-size: 11px; line-height: 1.8;
  letter-spacing: .18em; text-transform: uppercase;
  text-align: right;
  color: rgba(255, 255, 255, .7);
}
.imprint b { font-weight: 700; color: rgba(255, 255, 255, .92); }

/* very wide screens: full photo height, sides dissolve into the photo's colours */
@media (min-aspect-ratio: 19/10) {
  body {
    background: linear-gradient(180deg, #b0c2ce 0%, #bacbd5 30%, #c2d2da 52%, #c2d3db 62%, #bdced8 70%, #b9cbd5 78%, #aabec8 100%);
  }
  .photo {
    left: 0; width: auto; height: 100%;
    object-fit: initial;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  }
}

/* portrait: tree in view, saying in the sky above it */
@media (max-aspect-ratio: 4/5) {
  .photo { object-position: 24% 50%; }
  .mark { right: 6vw; left: 6vw; max-width: none; text-align: center; bottom: auto; top: 9vh; font-size: 11.5vw; }
  .imprint { right: 0; left: 0; text-align: center; bottom: 6vh; }
}
