/* =========================================================
   Gary Ferguson — Coming Soon Landing
   Single-page, focused on signup + launch date
   ========================================================= */

:root {
  --black:        #0A0A0A;
  --off-white:    #F5F1EA;
  --gold:         #C9A876;
  --gold-soft:    #b89760;
  --anthracite:   #1F1F1F;
  --muted:        rgba(245, 241, 234, 0.55);
  --line:         rgba(245, 241, 234, 0.14);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, video { max-width: 100%; display: block; }

a { color: var(--off-white); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0 0 .4em;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
  display: inline-block;
}

/* ---------- Background media ---------- */
.bg-media {
  position: fixed; inset: 0; z-index: 0;
}
.bg-media video,
.bg-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.bg-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 60%, rgba(10,10,10,0.96) 100%);
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 2rem var(--gutter);
}

.brand {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.brand img { height: 56px; width: auto; margin: 0 auto; }

/* Inline SVG logo — uses page web fonts */
.brand-logo {
  height: clamp(80px, 11vw, 130px);
  width: auto;
  display: inline-block;
}
.brand-logo .gf-mono {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  fill: var(--off-white);
}
.brand-logo .gf-wm {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  fill: var(--off-white);
  letter-spacing: 3px;
}
.brand-logo .gf-dot { fill: var(--gold); }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.headline {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(245,241,234,.85);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ---------- Countdown ---------- */
.countdown-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.countdown-label .date { color: var(--gold); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 1.4rem);
  max-width: 540px;
  width: 100%;
  margin: 0 auto 3rem;
}
.countdown .unit {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 1rem 0.5rem;
  text-align: center;
}
.countdown .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
  display: block;
}
.countdown .lbl {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
  display: block;
}

/* ---------- Signup form ---------- */
.signup {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.signup p.intro {
  font-size: 0.95rem;
  color: rgba(245,241,234,.78);
  margin-bottom: 1.2rem;
}
.form-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  transition: border-color .25s ease;
}
.form-row:focus-within { border-color: var(--gold); }
.signup input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.95rem 1.1rem;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.signup input[type="email"]:focus { outline: 0; }
.signup input[type="email"]::placeholder { color: rgba(245,241,234,.4); }

.signup button {
  background: var(--gold);
  color: var(--black);
  border: 0;
  padding: 0 1.4rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s ease;
}
.signup button:hover { background: var(--gold-soft); }

.signup small {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.signup .success {
  display: none;
  padding: 1.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
}
.signup.is-success .form-row,
.signup.is-success p.intro,
.signup.is-success small { display: none; }
.signup.is-success .success { display: block; }

/* ---------- Socials row ---------- */
.socials-row {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.socials-row a {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.socials-row a:hover { color: var(--gold); }

/* ---------- Live teaser ---------- */
.live-teaser {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  width: 100%;
}
.live-teaser .label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
  display: block;
}
.live-teaser p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(245,241,234,.78);
  font-size: 1.05rem;
}
.live-teaser p strong {
  font-style: normal;
  font-weight: 500;
  color: var(--off-white);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
footer {
  margin-top: auto;
  padding-top: 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 520px) {
  .countdown { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
  .countdown .unit { padding: 0.8rem 0.3rem; }
  .countdown .num { font-size: 1.6rem; }
  .form-row { flex-direction: column; }
  .signup button { padding: 0.95rem 1.4rem; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease .1s, transform .9s ease .1s; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .2s; }
.reveal:nth-child(3) { transition-delay: .3s; }
.reveal:nth-child(4) { transition-delay: .4s; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  position: fixed;
  top: clamp(1rem, 2.5vw, 1.75rem);
  right: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 50;
  display: flex;
  gap: .35rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.lang-toggle a {
  color: rgba(245, 241, 234, 0.5);
  padding: 0.35rem 0.4rem;
  transition: color .25s ease;
}
.lang-toggle a:hover { color: var(--off-white); }
.lang-toggle a.active { color: var(--gold); }
.lang-toggle span[aria-hidden] { color: rgba(245, 241, 234, 0.3); }

/* ---------- Language visibility ---------- */
/* Default: only EN spans visible. */
[data-lang]:not([data-lang="en"]) { display: none; }
html[lang="de"] [data-lang="de"] { display: inline; }
html[lang="de"] [data-lang="en"] { display: none; }
