/*
Theme Name: Floofaroos Placeholder
Theme URI: https://thefloofaroos.com/
Author: Wasim Muklashy
Description: A single-page coming-soon placeholder for The Floofaroos. No plugins, no blocks, one file of CSS.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: floofaroos-placeholder
*/

:root {
  --sky-top: #7ec4ee;
  --sky-bot: #bfe6f7;
  --grass: #7fb548;
  --cream: #fffaf0;
  --ink: #40331f;
  --ink-soft: #6d5c42;
  --wood: #b5561f;
  --shadow: rgba(38, 60, 78, .22);
  --font-display: "Fredoka", "Avenir Next Rounded", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 46%, #eaf7dd 72%, #dcf0c6 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px) clamp(16px, 4vw, 40px);
  text-align: center;
}

.wrap {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

/* ---- hero art ---- */
.hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(14px, 2.4vw, 26px);
  box-shadow: 0 18px 44px -14px var(--shadow), 0 3px 10px -4px var(--shadow);
}

/* Cap the art by viewport HEIGHT too (it is 1.79:1) so the whole page fits one screen. */
.hero-figure {
  width: min(100%, 900px, 76vh);
  margin: 0 auto clamp(18px, 3vw, 30px);
}

/* ---- copy ---- */
.site-title {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 4.2vw, 2.1rem);
  line-height: 1.25;
  margin: 0 auto clamp(10px, 2vw, 16px);
  max-width: 660px;
  color: #2f5f7a;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .55);
}

.blurb {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  line-height: 1.6;
  margin: 0 auto clamp(20px, 3.5vw, 30px);
  max-width: 52ch;
  color: var(--ink-soft);
}

/* ---- coming soon card ---- */
.card {
  background: var(--cream);
  border-radius: clamp(16px, 2.6vw, 28px);
  padding: clamp(18px, 3vw, 26px) clamp(20px, 4vw, 36px);
  box-shadow: 0 14px 34px -16px var(--shadow);
  max-width: 680px;
  margin: 0 auto;
}

.card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.82rem, 2.2vw, .95rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 clamp(12px, 2.2vw, 15px);
}

.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
}

.pills li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(.95rem, 2.4vw, 1.05rem);
  line-height: 1;
  padding: .6em .95em;
  border-radius: 999px;
  color: #4a3a22;
  background: #f3ead6;
}

.pills li:nth-child(5n+1) { background: #ffe0e6; }
.pills li:nth-child(5n+2) { background: #ffeec9; }
.pills li:nth-child(5n+3) { background: #d9f0d0; }
.pills li:nth-child(5n+4) { background: #d8ecfb; }
.pills li:nth-child(5n+5) { background: #ece0f7; }

/* ---- footer ---- */
.site-footer {
  margin-top: clamp(18px, 3.2vw, 30px);
  font-size: .875rem;
  color: #5f7a68;
}

.site-footer .floof {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--wood);
  display: block;
  margin-bottom: 6px;
}

.site-footer a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .hero-figure { animation: rise .8s cubic-bezier(.2, .7, .3, 1) both; }
  .tagline     { animation: rise .8s cubic-bezier(.2, .7, .3, 1) .1s both; }
  .blurb       { animation: rise .8s cubic-bezier(.2, .7, .3, 1) .18s both; }
  .card        { animation: rise .8s cubic-bezier(.2, .7, .3, 1) .26s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}
