/* Fonts, hosted with the site:
   - Playfair Display for the company name (SIL Open Font License, see fonts/OFL-PlayfairDisplay.txt)
   - ZT Nature by Zelowtype for everything else (license: fonts/1001fonts-zt-nature-eula.txt) */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ZT Nature";
  src: url("fonts/ZTNature-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ZT Nature";
  src: url("fonts/ZTNature-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #C7AA68;      /* sampled from the logo */
  --navy: 4, 20, 43;    /* #04142B, same as the overlay in your original file */
  --overlay: 0.65;      /* raise for a darker background, lower for a lighter one */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: "ZT Nature", "Helvetica Neue", Arial, sans-serif;
  color: var(--gold);
  background: rgb(var(--navy)) url("images/background.jpg") center / cover no-repeat;
  font-variant-numeric: lining-nums; /* standard-height digits */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Navy layer over the photo, covering the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(var(--navy), 0.85), rgba(var(--navy), 0) 30%), /* darker at the bottom so the footer stays readable */
    rgba(var(--navy), var(--overlay));
}

.logo {
  width: clamp(90px, 14vw, 150px);
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

h1 {
  font-family: "Playfair Display", Didot, "Bodoni 72", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5.2vw, 3.6rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-right: -0.16em; /* keeps the letter-spaced title optically centred */
}

.rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin: 1.6rem auto;
}

address {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

h1, address, footer { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }

footer {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
  opacity: 0.9;
}

footer span { white-space: nowrap; } /* each part wraps as a whole on small screens */

/* Photo credit required by the CC BY-SA 3.0 licence of the background photo */
body { position: relative; }
.credit {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 9px;
  letter-spacing: 0.02em;
  opacity: 0.55;
}
.credit a { color: inherit; }
