/* ============================================
   EverBloom Design Studio — Core Stylesheet
   ============================================ */

:root {
  --mauve: #5c2035;
  --mauve-deep: #451827;
  --mauve-tint: #f6ebee;
  --cream: #fdf8f4;
  --sage: #7f9a76;
  --sage-tint: #eef1e9;
  --gold: #b8934f;
  --ink: #2c1a20;
  --ink-soft: #6b5259;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;

  --max-width: 1180px;
  --edge: clamp(1.5rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--mauve);
}

p { margin: 0 0 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--edge);
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Flower mark (signature element) ---------- */
.mark {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
}
.mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  color: var(--gold);
  width: fit-content;
}
.divider .mark { width: 1.1rem; height: 1.1rem; }
.divider::before, .divider::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 244, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(92, 32, 53, 0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--edge);
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--mauve);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  letter-spacing: 0.01em;
}
.logo-wordmark .ever { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); }
.logo-wordmark .bloom { font-style: italic; font-size: 1.7rem; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a[aria-current="page"] { color: var(--mauve); font-weight: 500; }

.nav-cta {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--mauve);
  color: var(--mauve);
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--mauve); color: var(--cream); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--mauve);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 0.5rem var(--edge) 1.2rem; border-bottom: 1px solid rgba(92,32,53,0.1); display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.7rem 0; border-bottom: 1px solid rgba(92,32,53,0.06); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--mauve); color: var(--cream); }
.btn-primary:hover { background: var(--mauve-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(92,32,53,0.25); }
.btn-secondary { border-color: var(--mauve); color: var(--mauve); background: transparent; }
.btn-secondary:hover { background: var(--mauve); color: var(--cream); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) var(--edge) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
}
.hero h1 em {
  font-style: italic;
  color: var(--sage);
}
.hero .sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 1.4rem 0 2rem;
}
.hero-photo {
  aspect-ratio: 4/5;
  border-radius: 4px 90px 4px 4px;
}

/* real photo fill utility (pairs with hero-photo/card-photo/col-photo/gallery-item containers) */
.photo-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.hero-photo, .card-photo, .col-photo, .gallery-item { overflow: hidden; border-radius: 4px; }
.hero-photo { border-radius: 4px 90px 4px 4px; }

/* photo placeholder utility */
.photo-placeholder {
  background: linear-gradient(155deg, var(--mauve-tint) 0%, var(--sage-tint) 100%);
  border: 1px dashed rgba(92,32,53,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 1.5rem;
  position: relative;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(92,32,53,0.15);
}
.photo-placeholder span { position: relative; max-width: 22ch; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--mauve);
  color: var(--cream);
  padding: 0.9rem var(--edge);
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--mauve-tint); }
.section-dark {
  background: var(--mauve);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .eyebrow { color: var(--gold); }

.section-head {
  max-width: 640px;
  margin: 0 0 3rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head .sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }
.section-dark .section-head .sub { color: rgba(253,248,244,0.8); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col.reverse .col-photo { order: 2; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(92,32,53,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(44,26,32,0.12); }
.card-photo { aspect-ratio: 4/5; }
.card-body { padding: 1.4rem 1.4rem 1.6rem; }
.card-body h3 { font-size: 1.4rem; }
.card-tagline { font-style: italic; color: var(--sage); font-size: 0.95rem; margin: 0.3rem 0 0.8rem; }
.card-body p.desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 1020px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Quote ---------- */
.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--edge);
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--mauve);
  margin: 1.2rem 0;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}
.step { position: relative; padding-top: 2.2rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Studio teaser ---------- */
.studio-teaser {
  background: var(--sage-tint);
  border-radius: 10px;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.studio-teaser h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.studio-teaser p { max-width: 55ch; margin: 1rem auto 1.8rem; color: var(--ink-soft); }

/* ---------- Newsletter form ---------- */
.inline-form {
  display: flex;
  gap: 0.7rem;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.inline-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(92,32,53,0.25);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--cream);
}
.inline-form input[type="email"]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mauve-deep);
  color: rgba(253,248,244,0.85);
  padding: 3rem var(--edge) 2rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-grid .logo-wordmark { color: var(--cream); margin-bottom: 0.8rem; }
.footer-grid .logo-wordmark .ever { color: var(--gold); }
.footer-grid p { font-size: 0.88rem; color: rgba(253,248,244,0.65); }
.footer-col h4 {
  font-family: var(--font-body);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253,248,244,0.15);
  font-size: 0.78rem;
  color: rgba(253,248,244,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 760px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-photo { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--edge) 2.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .sub { max-width: 60ch; margin: 1.1rem auto 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Gallery filters ---------- */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 3rem;
}
.filter-btn {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(92,32,53,0.3);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { background: var(--mauve); color: var(--cream); border-color: var(--mauve); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery-item { aspect-ratio: 4/5; border-radius: 4px; }
.gallery-item[hidden] { display: none; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Service columns ---------- */
.service-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.service-col h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.service-col ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; color: var(--ink-soft); }
.service-col li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(92,32,53,0.1);
}
.service-note { font-size: 0.8rem; font-style: italic; color: var(--sage); margin-top: 1rem; }
@media (max-width: 860px) { .service-cols { grid-template-columns: 1fr; } }

/* ---------- Details list ---------- */
.detail-list { list-style: none; margin: 1.2rem 0; padding: 0; }
.detail-list li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: var(--ink-soft); }
.detail-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.7rem;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 4rem);
  flex-wrap: wrap;
  text-align: center;
}
.stat .num { font-family: var(--font-display); font-style: italic; font-size: 2.6rem; color: var(--mauve); display: block; }
.stat .label { font-size: 0.8rem; color: var(--ink-soft); max-width: 16ch; margin: 0.3rem auto 0; }

/* ---------- Believe list ---------- */
.believe-list { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.believe-list li {
  padding: 1rem 0 1rem 2rem;
  border-top: 1px solid rgba(92,32,53,0.12);
  position: relative;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--mauve-deep);
}
.believe-list li:last-child { border-bottom: 1px solid rgba(92,32,53,0.12); }
.believe-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.5rem;
  width: 10px; height: 10px;
  color: var(--gold);
}

/* ---------- Form ---------- */
.form-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid rgba(92,32,53,0.12);
  border-radius: 10px;
  padding: clamp(1.8rem, 5vw, 3rem);
}
fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2.2rem;
}
fieldset legend {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--mauve);
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(92,32,53,0.15);
  width: 100%;
  margin-bottom: 1.4rem;
}
.field { margin-bottom: 1.3rem; }
.field label, .field > legend.sublabel {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.field .helper { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.35rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(92,32,53,0.25);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.checkbox-grid, .radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}
.check-item, .radio-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.check-item input, .radio-item input { margin-top: 0.25rem; accent-color: var(--mauve); }
@media (max-width: 640px) { .checkbox-grid, .radio-grid { grid-template-columns: 1fr; } }

.conditional-field { display: none; margin-top: 0.7rem; }
.conditional-field.show { display: block; }

.form-submit-row { text-align: center; margin-top: 1rem; }
.form-submit-row .btn { width: 100%; justify-content: center; border: none; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 1rem; }

.confirmation {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}
.confirmation.show { display: block; }
.confirmation h2 { margin-bottom: 1rem; }
.confirmation p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 0.8rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 3rem; }
