/*
Theme Name: Vaikunth Peace Garden
Theme URI: https://vaikundhpeacegarden.org
Author: Vaikunth Peace Garden
Description: Editable block theme for the Brahma Kumaris Vaikunth Peace Garden retreat centre. Every section is built from native WordPress blocks, so text, images, buttons and layout can be edited with drag and drop in the Site Editor.
Version: 2.2.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vaikunth

Palette: Midnight Ink · Sacred Cream · Amber Gold
Fonts:   Cormorant Garamond (headings) + Outfit (body)
Component styles live in assets/css/blocks.css.
*/

:root {
  /* Core palette (mirrors theme.json) */
  --ink:         #1a2421;
  --ink-soft:    #2a3b36;
  --ink-mid:     #3c524b;
  --gold:        #b89855;
  --gold-light:  #d4b97a;
  --gold-pale:   #f0e4c8;
  --cream:       #fcfaf8;
  --cream-warm:  #f8f5f0;
  --cream-deep:  #ede8df;
  --sage:        #dce5df;
  --sage-light:  #edf2ee;
  --off-white:   #ffffff;

  /* Text */
  --text-primary:   #1a2421;
  --text-secondary: #3a4a44;
  --text-muted:     #6a7a74;
  --text-light:     #fcfaf8;
  --text-gold:      #9c7c3b;

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.4);
  --glass-border:  rgba(184, 152, 85, 0.2);
  --glass-shadow:  rgba(26, 36, 33, 0.08);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Motion */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

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

/* ---- Shared typography utilities (from the reference site) ---- */
.section-label {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-top: 0;
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.7;
}

.body-lg {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 58ch;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
