/* Dolla Bloom — coming-soon page (v2: launch banner)
   System fonts only: no downloads, no third-party requests. */

:root {
  --page: #FAE2DE;       /* pearl pink, sampled from the banner (close to Pantone 12-1304 Pearl) */
  --black: #000;
  --ink: #111;
  --grey-700: #5c4846;   /* warm secondary text, ~7:1 on --page */
  --line: rgba(120, 70, 64, 0.18);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Didot", "Bodoni 72", "Bodoni MT", "Bodoni Moda", "Playfair Display", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(20px, 4vw, 48px);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Top bar ---------- */
.topbar {
  margin: 0;
  padding: 0.7rem var(--gutter);
  background: var(--black);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-align: center;
}
@media (max-width: 480px) {
  .topbar { font-size: 0.72rem; letter-spacing: 0; }
}

/* ---------- Header + wordmark ---------- */
.header {
  display: flex;
  justify-content: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  margin: 0;
  /* High-contrast "Didone" serif, like the DB on the bottle.
     Didot / Bodoni 72 on Apple devices; Bodoni MT where Office is installed; Georgia elsewhere. */
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--black);
}

/* ---------- Stage: banner + tagline, centred between header and footer ---------- */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding-block: clamp(1.5rem, 6vh, 4.5rem);
}

.banner {
  display: block;
  width: 100%;
  /* Sized so header, banner and tagline fit on one screen */
  max-width: min(1240px, calc((100vh - 520px) * 2.755));
  max-width: min(1240px, calc((100svh - 520px) * 2.755));
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
  /* soften the gel texture's left edge into the page */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%);
}

.tagline {
  margin: 0;
  max-width: 30ch;
  padding: 0 var(--gutter);
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-align: center;
  text-wrap: balance;
  color: var(--black);
}

.contact { margin: 0; font-size: 0.95rem; }
.contact a {
  color: var(--black);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.contact a + a { margin-left: 1.25rem; }

a:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* Phones: crop the banner to the bubbles and the woman so the wording stays readable */
@media (max-width: 700px) {
  .stage { justify-content: flex-start; padding-block: 2rem 3rem; }
  .banner { max-width: 100%; }
  .banner img {
    aspect-ratio: 1.64 / 1;
    object-fit: cover;
    object-position: 95% 50%;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--grey-700);
}
.footer p { margin: 0; }
.footer__mono { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Simple pages (404) ---------- */
.simple {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem var(--gutter);
  text-align: center;
}
.simple h1 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; }
.simple a { color: var(--black); }
