/*
Theme Name: Moulden Group
Theme URI: https://mouldengroupllc.com
Author: Moulden Group LLC
Author URI: https://mouldengroupllc.com
Description: A full-site-editing block theme for Moulden Group LLC — an editorial, photography-led design built around the brand's navy and olive monogram.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moulden-group
*/

/* ==========================================================================
   Supplementary CSS — anything theme.json can't express.
   Design tokens (colors, type, spacing) live in theme.json; this file
   handles layout mechanics, the hero treatment, and a few signature details.
   ========================================================================== */

/* ---------- Header ---------- */
.site-header {
  background: #0A0A0A;
  position: relative;
  z-index: 40;
}

.site-header .wp-block-navigation a {
  color: var(--wp--preset--color--cream);
  opacity: 0.92;
}
.site-header .wp-block-navigation a:hover { opacity: 1; }

.site-header .nav-cta a {
  background: var(--wp--preset--color--olive);
  color: var(--wp--preset--color--white) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  text-decoration: none !important;
  font-weight: 600;
}
.site-header .nav-cta a:hover { background: var(--wp--preset--color--olive-soft); }

.site-logo img {
  max-height: 46px;
  width: auto;
}

/* ---------- Hero ---------- */
.mg-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background-color: #0A0A0A;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.mg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wp--preset--gradient--hero-overlay);
  pointer-events: none;
}

.mg-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.mg-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wp--preset--color--olive-soft);
}

.mg-hero h1 {
  color: var(--wp--preset--color--white);
  max-width: 16ch;
  margin-top: 0.6rem;
}

.mg-hero .mg-hero-sub {
  color: var(--wp--preset--color--stone);
  max-width: 40ch;
  font-size: 1.15rem;
  margin-top: 1.1rem;
}

/* ---------- Monogram watermark (signature element) ---------- */
.mg-watermark {
  position: relative;
}
.mg-watermark::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4vw;
  transform: translateY(-50%);
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  background-image: url('./assets/images/monogram-mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.mg-watermark > * { position: relative; z-index: 1; }

/* ---------- Numbered differentiators list ---------- */
.mg-reasons {
  counter-reset: reason;
}
.mg-reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(20,40,63,0.14);
}
.mg-reason:last-child { border-bottom: 1px solid rgba(20,40,63,0.14); }
.mg-reason::before {
  counter-increment: reason;
  content: counter(reason, decimal-leading-zero);
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--wp--preset--color--olive);
  line-height: 1.4;
}

/* ---------- Icon feature grid ---------- */
.mg-feature-icon {
  width: 34px;
  height: 34px;
  color: var(--wp--preset--color--navy);
  margin-bottom: 0.9rem;
}

/* ---------- Quote panel ---------- */
.mg-quote {
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--cream);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}
.mg-quote p.mg-quote-text {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--wp--preset--color--white);
}
.mg-quote .mg-quote-attr {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--wp--preset--color--olive-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Photo frames (placeholders for client photography) ---------- */
.mg-photo-frame {
  background: var(--wp--preset--color--stone);
  border: 1px solid rgba(20,40,63,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(20,40,63,0.45);
  font-size: 0.8rem;
  text-align: center;
  padding: 1.5rem;
  min-height: 320px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0A0A;
  color: var(--wp--preset--color--stone);
}
.site-footer a { color: var(--wp--preset--color--stone); text-decoration: none; }
.site-footer a:hover { color: var(--wp--preset--color--white); }
.site-footer .wp-block-navigation a { color: var(--wp--preset--color--stone); }

/* ---------- Process steps ---------- */
.mg-steps {
  counter-reset: step;
}
.mg-step {
  position: relative;
}
.mg-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.1rem;
  color: var(--wp--preset--color--olive);
  margin-bottom: 0.75rem;
}

/* ---------- Utility ---------- */
.mg-divider-olive {
  width: 60px;
  height: 2px;
  background: var(--wp--preset--color--olive);
  border: none;
  margin: 0;
}

@media (max-width: 782px) {
  .mg-hero { min-height: 70vh; }
}
