/*
Theme Name: Jacqui Wishart
Theme URI: https://jacquiwishart.com
Author: Jacqui Wishart
Description: Personal brand theme — editable via WordPress block editor.
Version: 2.0
License: GNU General Public License v2 or later
Tags: block-editor, personal, consulting
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

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

:root {
  --cream:  #f5f0eb;
  --warm:   #ede6de;
  --mauve:  #9d7d86;
  --dusty:  #c4a9b0;
  --sage:   #8a9e92;
  --ink:    #2d2a28;
  --mid:    #5c5452;
  --light:  #a09896;
  --white:  #ffffff;
  --border: rgba(157,125,134,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(245,240,235,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}
.site-nav.scrolled {
  padding: 1rem 4rem;
  box-shadow: 0 2px 24px rgba(45,42,40,.06);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; letter-spacing: .05em;
}
.nav-logo span { color: var(--mauve); font-style: italic; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: .75rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mid); transition: color .2s;
}
.nav-links a:hover { color: var(--mauve); }
.nav-links .nav-cta {
  background: var(--mauve); color: var(--white);
  padding: .55rem 1.4rem; border-radius: 2rem; transition: background .2s, transform .2s;
}
.nav-links .nav-cta:hover { background: var(--ink); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); }

/* ── PAGE WRAPPER ── */
.page-wrap { padding-top: 72px; }

/* ── GUTENBERG CONTENT AREA ── */
.entry-content {
  max-width: 100%;
  padding: 0;
}

/* ── BLOCK: COVER / HERO ── */
.entry-content .wp-block-cover {
  min-height: 92vh;
  padding: 6rem 4rem;
}
.entry-content .wp-block-cover__inner-container {
  max-width: 700px;
}

/* ── BLOCK: GROUP (sections) ── */
.entry-content .wp-block-group {
  padding: 6rem 4rem;
}
.entry-content .wp-block-group.is-style-dark {
  background: var(--ink);
  color: var(--white);
}
.entry-content .wp-block-group.is-style-warm {
  background: var(--warm);
}

/* ── BLOCK: COLUMNS ── */
.entry-content .wp-block-columns {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  gap: 4rem;
}

/* ── BLOCK: HEADING ── */
.entry-content h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; }
.entry-content h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; margin-bottom: 1rem; }
.entry-content h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: .75rem; }
.entry-content p  { font-size: 1rem; line-height: 1.85; color: var(--mid); margin-bottom: 1.1rem; }
.entry-content .wp-block-group.is-style-dark p { color: rgba(255,255,255,.7); }
.entry-content .wp-block-group.is-style-dark h2 { color: var(--white); }
.entry-content .wp-block-group.is-style-dark h3 { color: var(--white); }

/* ── BLOCK: BUTTONS ── */
.entry-content .wp-block-button__link {
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  border-radius: 2rem !important;
  padding: .85rem 2rem;
  transition: all .25s;
  border: none;
}
.entry-content .wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--mauve);
  color: var(--white);
}
.entry-content .wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border) !important;
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--mauve) !important;
  color: var(--mauve);
}
.entry-content .wp-block-button.is-style-white .wp-block-button__link {
  background: var(--white);
  color: var(--mauve);
  font-weight: 600;
}

/* ── BLOCK: IMAGE ── */
.entry-content .wp-block-image img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
}
.entry-content .wp-block-image.is-style-rounded img {
  border-radius: 50%;
}

/* ── BLOCK: SEPARATOR ── */
.entry-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── BLOCK: QUOTE ── */
.entry-content blockquote {
  border-left: 3px solid var(--mauve);
  padding-left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

/* ── BLOCK: LIST ── */
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  color: var(--mid);
  line-height: 1.9;
}

/* ── SECTION LABEL STYLE ── */
.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mauve);
  display: block;
  margin-bottom: .75rem;
}
.is-style-dark .section-label { color: var(--dusty); }

/* ── SERVICE CARD STYLE ── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(45,42,40,.08);
}
.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--dusty);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── READ ITEM ── */
.read-item {
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: .75rem;
  transition: border-color .2s, transform .2s;
}
.read-item:hover { border-color: var(--dusty); transform: translateX(4px); }
.read-item strong { display: block; font-size: .95rem; font-weight: 500; color: var(--ink); }
.read-item span { font-size: .8rem; color: var(--light); }

/* ── BEYOND CARD ── */
.beyond-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 2rem;
}
.beyond-icon { font-size: 1.8rem; margin-bottom: 1rem; }

/* ── CONTACT FORM ── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
}
.contact-form-wrap label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: .5rem;
  margin-top: 1.25rem;
}
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus { border-color: var(--mauve); }
.contact-form-wrap textarea { height: 140px; resize: vertical; }
.contact-form-wrap button {
  margin-top: 1.5rem;
  width: 100%;
  padding: .9rem;
  background: var(--mauve);
  color: var(--white);
  border: none;
  border-radius: 2rem;
  font-family: 'Jost', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.contact-form-wrap button:hover { background: var(--ink); transform: translateY(-2px); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--mauve) 0%, #7a5f67 100%);
  padding: 5rem 4rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

/* ── HERO BG SHAPE ── */
.hero-shape {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero-shape::before {
  content: '';
  position: absolute; top: -15%; right: -10%;
  width: 58vw; height: 85vh;
  border-radius: 45% 55% 50% 50% / 45% 45% 55% 55%;
  background: linear-gradient(145deg, rgba(196,169,176,.22), rgba(138,158,146,.16));
  animation: morphBlob 14s ease-in-out infinite;
}
@keyframes morphBlob {
  0%,100% { border-radius: 45% 55% 50% 50% / 45% 45% 55% 55%; }
  33%      { border-radius: 55% 45% 45% 55% / 55% 45% 55% 45%; }
  66%      { border-radius: 50% 50% 55% 45% / 50% 55% 45% 55%; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero-section {
  padding: 10rem 4rem 6rem;
  background: var(--warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,169,176,.2), transparent 70%);
  pointer-events: none;
}
.page-hero-section > * { position: relative; z-index: 1; }

/* ── FADE UP ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.4);
  padding: 2rem 4rem;
  text-align: center;
}
.site-footer .footer-copy { font-size: .8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--cream); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .entry-content .wp-block-group { padding: 4rem 1.5rem; }
  .entry-content .wp-block-cover { padding: 5rem 1.5rem; min-height: 80vh; }
  .entry-content .wp-block-columns { flex-direction: column; }
  .cta-banner { padding: 4rem 1.5rem; }
  .page-hero-section { padding: 8rem 1.5rem 4rem; }
  .site-footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
}
