/* Fulvio's holding page. Built from Fran's mock-up, FULVIOS WEBSITE landing2.pdf (white-writing version).
   Font: Neutronic Condensed. The mock-up uses Bold (button) and Regular (footer), which weren't supplied,
   so Medium stands in for both. */

@font-face {
  font-family: "Neutronic";
  src: url("fonts/neutroniccdnLIGHT.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Neutronic";
  src: url("fonts/neutroniccdnMED.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Neutronic";
  src: url("fonts/neutroniccdnBLK.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --cream: #f7f5e7;   /* text colour, sampled from the mock-up */
  --red: #d5493a;     /* button, sampled from the mock-up */
  --red-dark: #b93a2c;
  --ink: #1d1d1b;
  --font: "Neutronic", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 22px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  background: #e9e6df;
  color: var(--cream);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 18%;
  z-index: -1;
}

/* Faint scrim so the cream text stays readable over the white shirt and wall */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 22% at 50% 55%, rgba(0, 0, 0, .22), transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, .28), transparent 16%);
}

.hero__logo {
  margin: 0;
  padding-top: clamp(18px, 3.2vh, 40px);
  line-height: 0;
}
.hero__logo img {
  width: clamp(220px, 27vw, 460px);
  height: auto;
}

.hero__offer {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  padding: 0 16px;
  text-shadow: var(--shadow);
}

.hero__soon {
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: 1;
}

.hero__headline {
  font-weight: 900;
  font-size: clamp(2rem, 4.1vw, 4.4rem);
  line-height: 1.1;
  margin-top: .2em;
}

.mobile-break { display: none; }

.button {
  display: inline-block;
  margin-top: clamp(16px, 2.4vw, 34px);
  padding: .5em 1.6em .45em;
  min-width: 9.5em;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 2.3rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  transition: background-color .15s ease, transform .15s ease;
}
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

/* ---------- Footer ---------- */

.hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  padding: 0 clamp(16px, 5vw, 64px) calc(clamp(16px, 2.6vh, 32px) + env(safe-area-inset-bottom));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(.85rem, 1.05vw, 1.25rem);
  line-height: 1.25;
  text-shadow: var(--shadow);
}

.hero__handle { justify-self: start; }
.hero__tag { justify-self: end; }

.hero__address { display: flex; flex-direction: column; align-items: center; }

.hero__footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Short landscape screens (phone on its side) ---------- */

@media (min-width: 701px) and (max-height: 500px) {
  .hero__logo { padding-top: 12px; }
  .hero__logo img { width: min(24vw, 200px); }
  .hero__offer { top: 36%; }
  .hero__soon { font-size: 1.9rem; }
  .hero__headline { font-size: 1.8rem; }
  .button { font-size: 1.2rem; margin-top: 12px; }
}

/* ---------- Mobile (mock-up page 2) ---------- */

@media (max-width: 700px) {
  .hero__photo img { object-position: 50% 0%; }

  .hero__logo { padding-top: max(28px, 4vh); }
  .hero__logo img { width: 52vw; }

  .hero__offer { top: 35%; }
  .hero__soon { font-size: 13vw; }
  .hero__headline { font-size: 11.5vw; line-height: 1.02; margin-top: .12em; }
  .mobile-break { display: inline; }
  .button { font-size: 6.4vw; margin-top: 5vw; min-width: 0; width: 48vw; padding: .45em .5em .4em; }

  .hero__footer {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2.2vh;
    font-size: 4.6vw;
    letter-spacing: .02em;
  }
  .hero__address { font-size: 7vw; line-height: 1.15; }
  .hero__handle { justify-self: auto; font-size: 4.2vw; letter-spacing: .06em; }
  .hero__tag { display: none; }
}
