/* ============================================================
   Us.FunAndReverence.com — Main Stylesheet
   Fonts  : Cormorant Garamond + Jost (Google Fonts)
   Colors : locked — do not modify CSS variables below
   ============================================================ */

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

/* --- Design Tokens (LOCKED) -------------------------------- */
:root {
  --cream:      #faf7f2;
  --warm-white: #fdfbf8;
  --blush:      #e8c4b8;
  --rose:       #c4826a;
  --rose-deep:  #8b4f3a;
  --sage:       #8a9e87;
  --sage-light: #d4ddd2;
  --gold:       #b89a6a;
  --gold-light: #e8d9be;
  --ink:        #2c2521;
  --ink-light:  #6b5f58;
  --border:     rgba(184,154,106,0.25);
}

/* --- Base -------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* linen texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23faf7f2'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23e8d9be' opacity='0.3'/%3E%3Ccircle cx='3' cy='3' r='0.5' fill='%23e8d9be' opacity='0.3'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* --- Floral corner accents --------------------------------- */
.floral-tl,
.floral-br {
  position: fixed;
  width: 320px;
  height: 320px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.floral-tl { top: -60px; left: -60px; }
.floral-br { bottom: -60px; right: -60px; transform: rotate(180deg); }

/* --- Navigation -------------------------------------------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3.5rem;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rose-deep);
  letter-spacing: 0.02em;
}
.logo span {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose); }

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--rose-deep);
  border: 1px solid var(--rose);
  padding: 0.55rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--rose-deep); color: var(--warm-white); }

/* --- Ornament divider -------------------------------------- */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 60px;
  height: 1px;
}
.ornament::before { background: linear-gradient(to right, transparent, var(--gold)); }
.ornament::after  { background: linear-gradient(to left,  transparent, var(--gold)); }

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
h1 em { font-style: italic; color: var(--rose-deep); }

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-light);
  margin: 1.25rem 0 2.5rem;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--ink-light);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

/* --- Word Search Grid -------------------------------------- */
.ws-preview {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  width: 220px;
  margin: 0 auto 2.5rem;
  opacity: 0.6;
}

.ws-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  color: var(--ink);
  border: 0.5px solid var(--border);
  background: var(--warm-white);
}
.ws-cell.highlighted {
  background: var(--gold-light);
  color: var(--rose-deep);
  font-weight: 600;
}

.ws-large {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  background: var(--cream);
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.ws-large .ws-cell {
  font-size: 0.8rem;
  width: 100%;
}

/* --- Buttons ----------------------------------------------- */
.btn-build {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  background: var(--rose-deep);
  border: none;
  padding: 1.1rem 3rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-build::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  pointer-events: none;
  transition: inset 0.2s;
}
.btn-build:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,79,58,0.2);
}
.btn-build:hover::before { inset: -7px; }
.btn-build:active { transform: translateY(0); }

.btn-build-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--rose-deep);
  background: var(--warm-white);
  border: none;
  padding: 1.1rem 3rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  z-index: 1;
}
.btn-build-light::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
  transition: inset 0.2s;
}
.btn-build-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.btn-build-light:hover::before { inset: -7px; }

.btn-hint {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  margin-top: 1.1rem;
}

/* --- Sample words strip ------------------------------------ */
.words-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  max-width: 560px;
}
.word-pill {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--sage);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--sage-light);
}

/* --- Generic section wrapper ------------------------------- */
.section {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.section-heading { text-align: center; margin-bottom: 3.5rem; }
.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.section-heading h2 em { font-style: italic; color: var(--rose-deep); }
.section-heading p    { font-size: 0.85rem; color: var(--ink-light); letter-spacing: 0.06em; }

/* --- How it works steps ------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2px;
  background: var(--border);
}
.step {
  background: var(--warm-white);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
}
.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.step-desc { font-size: 0.83rem; color: var(--ink-light); line-height: 1.75; }

/* --- Uses section ------------------------------------------ */
.uses {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.uses-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.uses-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.uses-text h2 em { font-style: italic; color: var(--rose-deep); }
.uses-text p     { font-size: 0.88rem; color: var(--ink-light); line-height: 1.8; margin-bottom: 1.5rem; }

.uses-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.uses-list li {
  font-size: 0.85rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.uses-list li::before { content: '✦'; color: var(--gold); font-size: 0.55rem; flex-shrink: 0; }

/* --- Quote / testimonial ----------------------------------- */
.quote-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 2rem;
}
blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.45;
}
blockquote em { color: var(--rose-deep); font-style: normal; }
cite {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-style: normal;
}

/* --- Bottom CTA -------------------------------------------- */
.bottom-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--rose-deep);
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1' fill='%23e8c4b8' opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bottom-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--warm-white);
  letter-spacing: -0.01em;
  line-height: 1.1;
  position: relative;
}
.bottom-cta h2 em { font-style: italic; color: var(--gold-light); }
.bottom-cta p {
  font-size: 0.85rem;
  color: rgba(250,247,242,0.65);
  letter-spacing: 0.06em;
  position: relative;
}

/* --- Footer ------------------------------------------------ */
footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  padding: 2.5rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .logo { color: var(--gold-light); font-size: 1.2rem; }
footer p     { font-size: 0.7rem; color: rgba(250,247,242,0.4); letter-spacing: 0.08em; }

/* --- Responsive -------------------------------------------- */
@media (max-width: 700px) {
  nav           { padding: 0.85rem 1.25rem; }
  .nav-links    { display: none; }
  .logo         { font-size: 1rem; }
  .nav-cta      {
    font-size: 0.65rem;
    padding: 0.45rem 0.9rem;
    letter-spacing: 0.08em;
  }
  .uses-inner   { grid-template-columns: 1fr; }
  .section      { padding: 4rem 1.5rem; }
  footer        { flex-direction: column; gap: 1rem; text-align: center; }
}
