/* LookSeeBook one-page site. The fonts are served from this site (no Google Fonts call), and there are no scripts, cookies or trackers. */

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --logo-orange: #d4622a;
  --logo-blue: #4a7fa5;
  --night: #1b100a;
  --text: #ffffff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background: var(--night);
}

/* The whole page is the door: wide picture on a wide screen, tall picture on a phone held upright. A dark wash at the top, and a deeper one at the bottom,
   keep the logo and the words readable while the door itself stays clear in the middle. */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.78) 100%),
    url("/images/door-landscape.jpg") center / cover no-repeat,
    var(--night);
}

@media (orientation: portrait) {
  .page {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%),
      url("/images/door-portrait.jpg") center / cover no-repeat,
      var(--night);
  }
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(28px, 6vh, 64px) 24px clamp(20px, 4vh, 40px);
  text-align: center;
}

.masthead {
  max-width: 100%;
}

.logo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(44px, 10vw, 104px);
  line-height: 1.2;
  color: var(--logo-blue);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  overflow-wrap: anywhere;
}

.logo .v {
  color: var(--logo-orange);
}

.tagline {
  margin: 0.4em 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(12px, 2.3vw, 21px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.about {
  max-width: 34em;
}

.lead {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.soon {
  margin: 0.9em 0 0;
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.footer {
  padding: 18px 24px 26px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.55);
}

.footer p {
  margin: 0.2em auto;
  max-width: 46em;
}

.footer a {
  color: var(--text);
  text-underline-offset: 3px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--logo-orange);
}

/* Ready for the Privacy Policy link (and any others) under the contact line. */
.footer-links a + a {
  margin-left: 1.2em;
}

@media (prefers-reduced-motion: no-preference) {
  .logo,
  .tagline,
  .about {
    animation: rise 0.9s ease-out both;
  }

  .tagline {
    animation-delay: 0.12s;
  }

  .about {
    animation-delay: 0.25s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
