/*
Theme Name: FPR Sanctuary
Theme URI: https://freedomspurchase.com
Author: Freedom's Purchase Ranch — Abbe Baird
Author URI: https://freedomspurchase.com
Description: Dark botanical sanctuary aesthetic, custom-built to match the freedomspurchase.com coming-soon landing. Deep forest + warm cream + moss/gold/blossom palette. Cormorant Garamond display + Inter body. Full-site editing block theme.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary — FPR
License URI: https://freedomspurchase.com
Text Domain: fpr-sanctuary
Tags: dark, full-site-editing, block-patterns, wide-blocks, custom-colors, custom-logo, editor-style
*/

/* ============================================================
   FPR SANCTUARY — DESIGN TOKENS
   Mirrors the landing page's CSS custom properties so the rest
   of the site inherits the same language.
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-0: #0a0f0c;
  --bg-1: #0d1411;
  --bg-2: #141d18;
  --bg-3: #1b251f;

  /* Foregrounds */
  --fg-0: #f2efe7;
  --fg-1: #d9d3c3;
  --fg-2: #a39b86;

  /* Accents */
  --moss:          #6b8a5a;
  --moss-bright:   #8fb377;
  --gold:          #c8a968;
  --gold-bright:   #e4c585;
  --blossom:       #e8a8c0;
  --blossom-dark:  #c47a8a;
  --rust:          #a85a3a;

  /* Lines + overlays */
  --line:       rgba(201, 195, 177, 0.12);
  --line-warm:  rgba(232, 168, 192, 0.18);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   BASELINE
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle film-grain texture so the site feels like the landing page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(107, 138, 90, 0.04) 0%, transparent 45%),
                    radial-gradient(circle at 80% 70%, rgba(200, 169, 104, 0.03) 0%, transparent 45%),
                    radial-gradient(circle at 50% 50%, rgba(232, 168, 192, 0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Type hierarchy */
h1, h2, h3, h4, h5, h6,
.has-display-font {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--fg-0);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 300; }
h2 { font-size: clamp(2.0rem, 4.5vw, 3.2rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h4 { font-size: 1.35rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }

p, li { color: var(--fg-1); font-size: 1.05rem; }

em, i { color: var(--blossom); font-style: italic; }
strong, b { color: var(--fg-0); font-weight: 500; }

/* ============================================================
   LINKS
   ============================================================ */

a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
a:hover, a:focus {
  color: var(--blossom);
  border-bottom-color: var(--blossom);
}

/* ============================================================
   BUTTONS (WP core + Gutenberg)
   ============================================================ */

.wp-block-button__link,
button.wp-element-button,
input[type="submit"],
.button {
  background: transparent;
  color: var(--fg-0);
  border: 1px solid var(--gold);
  border-radius: 0;
  padding: 0.85em 2em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}
.wp-block-button__link:hover,
button.wp-element-button:hover,
.button:hover {
  background: var(--gold);
  color: var(--bg-0);
  letter-spacing: 0.12em;
}
.wp-block-button.is-style-outline-blossom .wp-block-button__link {
  border-color: var(--blossom);
}
.wp-block-button.is-style-outline-blossom .wp-block-button__link:hover {
  background: var(--blossom);
  color: var(--bg-0);
}

/* ============================================================
   CONTAINERS / LAYOUT
   ============================================================ */

.site-header,
.wp-site-blocks {
  position: relative;
  z-index: 1;
}

main.wp-block-group,
.site-main,
.entry-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Landing-style divider */
hr.wp-block-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-warm), transparent);
  margin: 3rem auto;
  max-width: 240px;
}

/* ============================================================
   CARDS / GROUPS
   ============================================================ */

.wp-block-group.has-background {
  border: 1px solid var(--line);
  padding: 2.5rem;
  border-radius: 0;
  backdrop-filter: blur(6px);
}

.wp-block-cover {
  border: 1px solid var(--line);
}

/* ============================================================
   QUOTES
   ============================================================ */

.wp-block-quote, blockquote {
  border-left: 2px solid var(--blossom);
  padding: 1.2rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--fg-0);
  background: linear-gradient(90deg, rgba(232, 168, 192, 0.04), transparent);
}
.wp-block-quote cite { color: var(--gold); font-style: normal; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================================
   IMAGES
   ============================================================ */

.wp-block-image img {
  border: 1px solid var(--line);
  filter: saturate(0.92) contrast(1.04);
}
.wp-block-image figcaption {
  color: var(--fg-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.75rem;
}

/* ============================================================
   FORMS (Contact Form 7 / Gravity / core)
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
  background: var(--bg-2);
  color: var(--fg-0);
  border: 1px solid var(--line);
  padding: 0.85em 1em;
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  outline: none;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer,
footer.wp-block-template-part {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.site-footer a { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  main.wp-block-group,
  .site-main,
  .entry-content { padding: 2.5rem 1.1rem; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--blossom);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
