/*
Theme Name: The Modern Living Co. v3.4 Polish
Theme URI: https://example.com/
Author: Jibari
Author URI: https://example.com/
Description: Safer WordPress theme build for The Modern Living Co. with all CSS consolidated in the root stylesheet.
Version: 3.4.0
Text Domain: modern-living-v3
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-light: #f5efe6;
  --bg-soft: #ede4d7;
  --bg-dark: #231b17;
  --text-dark: #2b241f;
  --text-muted: #6e6259;
  --text-light: #efe5d7;
  --accent: #b79b67;
  --border: rgba(183, 155, 103, 0.35);
  --max: 1200px;
  --section-pad: 100px;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(24, 19, 16, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; }
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 16px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 { font-size: clamp(3.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: 1.9rem; }
h4 { font-size: 1.5rem; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245, 239, 230, 0.85);
  border-bottom: 1px solid rgba(183, 155, 103, 0.2);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 84px;
  gap: 20px;
}

.brand-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero {
  padding-top: 34px;
  background: radial-gradient(circle at top right, rgba(183,155,103,0.12), transparent 35%), linear-gradient(180deg, #f7f1e9 0%, #f5efe6 100%);
}

.hero-frame {
  min-height: 680px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  padding: 80px;
  background: linear-gradient(90deg, rgba(247, 240, 231, 0.94) 0%, rgba(247, 240, 231, 0.88) 18%, rgba(247, 240, 231, 0.55) 42%, rgba(247, 240, 231, 0.18) 58%, rgba(247, 240, 231, 0.08) 100%);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #9f7d45;
  font-weight: 700;
}

.hero h1 {
  color: #221b16;
  text-shadow: 0 1px 0 rgba(255,255,255,0.18);
}

.hero-sub,
.planner-sub,
.cta-copy {
  font-size: 1.08rem;
  color: #4f443c;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 28px;
}

.hero-quote {
  color: #4a4038;
  font-size: 0.98rem;
  text-align: center;
  max-width: 420px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 500;
}

.btn.primary {
  background: var(--text-dark);
  color: var(--bg-light);
  border-color: var(--text-dark);
}

.btn.secondary {
  background: rgba(255, 249, 241, 0.78);
  color: #2b241f;
  border-color: rgba(43, 36, 31, 0.16);
  backdrop-filter: blur(3px);
}

.btn.gold {
  background: var(--accent);
  color: #1f1814;
  border-color: var(--accent);
}

.btn.light-outline {
  color: var(--text-light);
  border-color: rgba(239,229,215,0.24);
}

.center-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.divider {
  width: 120px;
  height: 1px;
  background: rgba(183, 155, 103, 0.4);
  margin: 0 auto 32px;
}

.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.dark p,
.dark li,
.dark .muted {
  color: rgba(239, 229, 215, 0.78);
}

.laws-grid-wrap {
  max-width: 980px;
  margin: 44px auto 0;
  display: grid;
  gap: 24px;
}

.laws-row {
  display: grid;
  gap: 24px;
}

.laws-row.top { grid-template-columns: repeat(3, 1fr); }
.laws-row.bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: calc((100% - 48px) * 2 / 3 + 24px);
  margin: 0 auto;
}

.law-card,
.service-card {
  padding: 30px;
  border-radius: 22px;
}

.law-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  min-height: 220px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(43, 36, 31, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.service-card p {
  color: var(--text-muted);
  flex: 1;
}

.service-link {
  margin-top: 24px;
  font-weight: 600;
}

.soft-section { background: var(--bg-soft); }

.grid-2,
.planner-grid,
.founder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.resource-panel {
  display: grid;
  gap: 28px;
}

.resource-item {
  padding: 16px 0;
  border-top: 1px solid rgba(43,36,31,0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.feature-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 11px;
}

.device-stage {
  min-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03));
}

.quote-xl {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.06;
  max-width: 520px;
}

.founder-photo {
  min-height: 560px;
  border-radius: 24px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.theme-photo-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-section {
  background: linear-gradient(180deg, #efe5d8 0%, #e7dac7 100%);
}

.final-cta { text-align: center; }
.final-cta .cta-copy { margin: 0 auto 28px; }

.site-footer {
  background: #181210;
  color: var(--text-light);
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(239,229,215,0.76);
  margin: 0 0 10px;
  font-size: 0.96rem;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(239,229,215,0.58);
  font-size: 0.9rem;
}

.page-generic { padding: 120px 0; }
.entry-content { max-width: 900px; }

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .grid-2, .planner-grid, .founder-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .laws-row.top { grid-template-columns: repeat(2, 1fr); }
  .laws-row.bottom { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .hero-frame { min-height: 560px; padding: 60px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .device-stage { min-height: 460px; }
}

@media (max-width: 720px) {
  :root { --section-pad: 52px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-nav { display: none; }
  .services-grid, .footer-grid { grid-template-columns: 1fr; }
  .laws-row.top, .laws-row.bottom { grid-template-columns: 1fr; width: 100%; }
  .hero-frame { min-height: 500px; padding: 34px 24px; align-items: flex-start; }
  .hero-copy { max-width: 100%; }
  .hero-actions { align-items: stretch; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
  .device-stage { min-height: 420px; }
  .founder-photo { min-height: 380px; }
  .quote-xl { font-size: 2.5rem; }
}
/* Final hero polish - softer version */
.hero-frame {
align-items: flex-end;
padding-top: 100px;
padding-bottom: 76px;
}

.hero-copy {
transform: translateY(6px);
}

.eyebrow {
color: #a17d46;
letter-spacing: 0.19em;
}

.hero-quote {
color: #453a33;
}
/* Last 5% polish */
.eyebrow {
color: #9d7840;
font-weight: 700;
}

.hero-sub {
color: #433830;
}

.hero-quote {
color: #3d332c;
}
/* Hero readability polish */
.hero-frame {
background-image:
linear-gradient(
90deg,
rgba(247, 240, 231, 0.78) 0%,
rgba(247, 240, 231, 0.62) 18%,
rgba(247, 240, 231, 0.30) 36%,
rgba(247, 240, 231, 0.10) 56%,
rgba(247, 240, 231, 0.02) 100%
),
url('https://themodernliving.co/wp-content/uploads/2026/04/hero.jpg');
background-position: center right;
background-size: cover;
background-repeat: no-repeat;
}
.hero h1,
.hero-sub,
.hero-quote {
color: #171310;
text-shadow: 0 1px 2px rgba(255,255,255,0.18);
}

.eyebrow {
color: #8a6633;
font-weight: 700;
}
.hero-sub,
.hero-quote {
color: #1f1b18;
}
@media (max-width: 720px) {
.hero-frame {
min-height: 560px;
padding: 28px 22px 34px;
align-items: flex-start;
background-image:
linear-gradient(
180deg,
rgba(247, 240, 231, 0.92) 0%,
rgba(247, 240, 231, 0.88) 22%,
rgba(247, 240, 231, 0.74) 46%,
rgba(247, 240, 231, 0.52) 68%,
rgba(247, 240, 231, 0.24) 100%
),
url('https://themodernliving.co/wp-content/uploads/2026/04/hero.jpg');
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
}

.hero-copy {
max-width: 100%;
transform: none;
}

.hero h1 {
font-size: 2.8rem;
line-height: 0.95;
margin-bottom: 14px;
}

.eyebrow {
font-size: 0.72rem;
line-height: 1.5;
letter-spacing: 0.16em;
color: #8f6a34;
max-width: 260px;
margin-bottom: 14px;
}

.hero-sub {
font-size: 1.05rem;
line-height: 1.55;
color: #1f1b18;
max-width: 92%;
}

.btn-row {
margin-top: 24px;
gap: 12px;
}

.btn {
width: 100%;
}

.hero-quote {
margin-top: 10px;
font-size: 0.95rem;
line-height: 1.5;
color: #1f1b18;
max-width: 92%;
text-align: left;
}
.eyebrow {
color: #8f6a34;
font-weight: 700;
}
/* Hero treatment preview — Luxury / Dramatic */
.hero-frame {
background-image:
linear-gradient(
90deg,
rgba(247, 240, 231, 0.78) 0%,
rgba(247, 240, 231, 0.62) 18%,
rgba(247, 240, 231, 0.30) 36%,
rgba(247, 240, 231, 0.10) 56%,
rgba(247, 240, 231, 0.02) 100%
),
url('https://themodernliving.co/wp-content/uploads/2026/04/hero.jpg');
background-position: center right;
background-size: cover;
background-repeat: no-repeat;
}

.hero h1,
.hero-sub,
.hero-quote {
color: #171310;
text-shadow: 0 1px 2px rgba(255,255,255,0.18);
}

.eyebrow {
color: #8a6633;
font-weight: 700;
}
