/*
Theme Name: Common Ground — Coming Soon
Theme URI: https://farleyroger.ca
Author: Farley Roger
Author URI: https://farleyroger.ca
Description: Coming Soon holding page for Common Ground blog — gold-on-black Canadian current affairs blog.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: commonground
*/

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dim:    #8A6F30;
  --black:       #0D0D0D;
  --black-soft:  #161616;
  --black-card:  #1C1C1C;
  --black-rule:  #2A2A2A;
  --white:       #F5F0E8;
  --white-dim:   #A89F8C;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--gold-light); }

/* =====================================================
   COMING SOON LAYOUT
   ===================================================== */
.coming-soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.coming-soon__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
}

/* =====================================================
   TITLE WITH FLAGS
   ===================================================== */
.title-with-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.title-flag {
  width: clamp(60px, 8vw, 100px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.coming-soon__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  white-space: nowrap;
}

/* =====================================================
   REST OF COMING SOON
   ===================================================== */
.coming-soon__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--white-dim);
  font-style: italic;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.gold-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 0 auto 2.5rem;
  width: 260px;
}
.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-dim);
}
.gold-rule__diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.coming-soon__message {
  max-width: 480px;
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.coming-soon__message strong {
  color: var(--white);
  font-weight: 600;
}

.notify-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 1rem;
}

.notify-form input[type="email"] {
  flex: 1;
  background: var(--black-card);
  border: 1px solid var(--black-rule);
  border-right: none;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.notify-form input[type="email"]::placeholder { color: var(--white-dim); }
.notify-form input[type="email"]:focus { border-color: var(--gold-dim); }

.notify-form button {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.notify-form button:hover { background: var(--gold-light); border-color: var(--gold-light); }

.notify-note {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--white-dim);
  opacity: 0.7;
}

/* =====================================================
   FOOTER BAR
   ===================================================== */
.coming-soon-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-rule);
  padding: 1.25rem 2rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--white-dim);
}
.coming-soon-footer a { color: var(--white-dim); }
.coming-soon-footer a:hover { color: var(--gold); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 520px) {
  /* Stack flags above/below title on very small screens */
  .title-with-flags {
    flex-direction: column;
    gap: 0.75rem;
  }
  .coming-soon__title { white-space: normal; }
  .notify-form { flex-direction: column; }
  .notify-form input[type="email"] {
    border-right: 1px solid var(--black-rule);
    border-bottom: none;
  }
  .notify-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
