/* ==========================================================================
   Mycelia Birth Co. — shared stylesheet
   ========================================================================== */

:root {
  --blush: #E5CFC0;
  --blush-light: #f2e6dd;
  --mauve: #A88F80;
  --forest: #39432F;
  --cream: #faf6f1;
  --cocoa: #7D6F61;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;

  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Subtle mycelium watermark, visible wherever a section doesn't set its
   own background color. Fixed and behind everything (negative z-index)
   so it never interferes with text or interactive elements. */
.myc-bg-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url('../images/myc-bg-texture.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--forest);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1.1em; }

a {
  color: var(--forest);
  text-decoration: none;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.6em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.6rem;
}

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

/* -------------------------------------------------- header / nav -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blush);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--forest);
}

.brand-mark {
  height: 92px;
  width: auto;
  flex-shrink: 0;
}

.brand-mark svg { width: 100%; height: 100%; }
.brand-mark img { height: 100%; width: auto; display: block; }

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.15;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--cocoa);
  font-weight: 700;
  margin-top: 0.25em;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: var(--mauve);
}

.main-nav a[aria-current="page"] {
  border-bottom-color: var(--mauve);
  color: var(--mauve);
}

.main-nav .nav-cta {
  padding: 0.7rem 1.6rem;
  font-size: 1.1rem;
  border-bottom: none;
}

.main-nav .nav-cta:hover {
  color: var(--blush-light);
  border-bottom: none;
}

/* -------------------------------------------------- buttons ------------ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--forest);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--blush-light);
}

.btn-primary:hover {
  background: #2b3323;
  border-color: #2b3323;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--mauve);
}

.btn-secondary:hover {
  background: var(--mauve);
  color: var(--cream);
  border-color: var(--mauve);
}

/* -------------------------------------------------- hero --------------- */

.hero {
  background: linear-gradient(180deg, var(--blush-light) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--blush);
}

.hero .container {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { max-width: 640px; }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--mauve);
  margin: -0.4em 0 1em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-art {
  justify-self: center;
}

.hero-art svg {
  width: 100%;
  max-width: 340px;
}

.hero-photo-frame {
  width: 100%;
  max-width: 460px;
}

.hero-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 780px) {
  .hero .container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* -------------------------------------------------- page header (non-home) */

.page-header {
  background: var(--blush-light);
  border-bottom: 1px solid var(--blush);
  padding: 3.4rem 0 2.6rem;
  text-align: center;
}

.page-header p {
  max-width: 620px;
  margin: 0 auto;
  color: #4b5540;
}

/* -------------------------------------------------- sections ------------ */

section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--blush-light);
  border-top: 1px solid var(--blush);
  border-bottom: 1px solid var(--blush);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.divider {
  width: 100%;
  height: 32px;
  display: block;
}

/* -------------------------------------------------- brand flourish (eucalyptus sprig) */
/* Signature accent used consistently across every page — a small, quiet
   botanical mark that bookends the main content area. */

.brand-flourish {
  text-align: center;
  padding: 1.8rem 0;
}

.brand-flourish img {
  width: 68px;
  height: auto;
  margin: 0 auto;
  opacity: 0.85;
}

/* -------------------------------------------------- photography -------- */
/* Reused across pages for real photo placements: a wide banner shot, and a
   paired image + copy block. Both echo the rounded-corner, cream/blush
   framing already used for cards and the founder photo. */

.photo-banner {
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--max-width);
}

.photo-banner.is-compact {
  max-width: 480px;
}

.photo-banner.is-arch {
  max-width: 560px;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

.photo-banner.is-arch img {
  aspect-ratio: 4 / 5;
  object-position: 42% 45%;
}

.photo-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.photo-feature {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.photo-feature-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.photo-feature-frame.is-wide img {
  aspect-ratio: 3 / 2;
}

.photo-feature-text .eyebrow { display: block; margin-bottom: 0.6em; }
.photo-feature-text p:last-child { margin-bottom: 0; }

@media (min-width: 780px) {
  .photo-feature {
    grid-template-columns: minmax(240px, 380px) 1fr;
  }
  .photo-feature.is-reversed {
    grid-template-columns: 1fr minmax(240px, 440px);
  }
  .photo-feature.is-reversed .photo-feature-frame { order: 2; }
}

/* -------------------------------------------------- cards / grid ------- */

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--cream);
  border: 1px solid var(--blush);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  text-align: left;
}

.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--mauve);
}

.card .icon svg { width: 100%; height: 100%; }

.card h3 { margin-bottom: 0.5em; }

.card p:last-child { margin-bottom: 0; }

.card-price {
  display: inline-block;
  margin-top: 0.8em;
  font-style: italic;
  color: var(--mauve);
}

/* -------------------------------------------------- service detail ----- */

.service-block {
  display: grid;
  gap: 1.4rem;
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--blush);
}

.service-block:last-of-type { border-bottom: none; }

.service-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.service-block-head .card-price { margin-top: 0; }

/* -------------------------------------------------- quote / testimonial */

.quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 1rem;
}

.quote cite {
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--mauve);
}

/* -------------------------------------------------- about page --------- */

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.values-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: baseline;
}

.values-list .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--mauve);
  font-style: italic;
}

.credentials-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--blush);
}

.credentials-list li:last-child { border-bottom: none; }

/* -------------------------------------------------- contact ------------ */

.contact-layout {
  display: grid;
  gap: 2.6rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mauve);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--mauve);
  border-radius: 10px;
  background: var(--cream);
  color: var(--forest);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}

.contact-info h3 { margin-top: 1.6rem; }
.contact-info h3:first-of-type { margin-top: 0; }

.contact-info a { border-bottom: 1px solid var(--mauve); }
.contact-info a:hover { color: var(--mauve); }

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border-bottom: 1px solid var(--mauve);
}

.instagram-icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--mauve);
  flex-shrink: 0;
}

/* Inline Instagram icon used in footers — inherits the surrounding link colour. */
.ig-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.ig-inline .instagram-icon {
  width: 1em;
  height: 1em;
  color: currentColor;
  flex-shrink: 0;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  border-bottom: 1px solid var(--mauve);
}

.facebook-icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--mauve);
  flex-shrink: 0;
}

/* Inline Facebook icon used in footers — inherits the surrounding link colour. */
.fb-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.fb-inline .facebook-icon {
  width: 1em;
  height: 1em;
  color: currentColor;
  flex-shrink: 0;
}

/* -------------------------------------------------- footer -------------- */

.site-footer {
  background: var(--forest);
  color: var(--blush-light);
  padding: 3.4rem 0 2.2rem;
}

.site-footer a { color: var(--blush-light); }
.site-footer a:hover { color: var(--blush); }

.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2.4rem;
}

.footer-grid h4 {
  color: var(--blush-light);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 207, 192, 0.25);
  padding-top: 1.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--blush);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* -------------------------------------------------- utility ------------ */

.text-center { text-align: center; }

.mt-lg { margin-top: 2.5rem; }

@media (max-width: 640px) {
  section { padding: 3rem 0; }
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .main-nav ul { gap: 1.1rem; }
}
