/* =========================================================
   MICHELLE'S WEB DESIGN — HOMEPAGE (home.css)
   Self-contained styles for index.html only.
   Palette + type tokens defined once below; edit there.
========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg: #FAF8F6;
  --white: #FFFFFF;
  --rose: #B8746A;
  --rose-deep: #9F5F57;
  --rose-soft: #F0E2DD;
  --charcoal: #1F1F1F;
  --gray: #6B6B6B;
  --border: #ECE7E2;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 20px rgba(31,31,31,.06);
  --shadow-md: 0 18px 50px rgba(120,80,72,.14);
  --shadow-lg: 0 30px 70px rgba(120,80,72,.20);

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- RESET / BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--charcoal); letter-spacing: -.01em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Shared accessibility: visible focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- SHARED BITS (promo banner injected by script.js) ---------- */
.promo-banner {
  background: var(--charcoal);
  color: rgba(255,255,255,.82);
  text-align: center;
  padding: 10px 16px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- EYEBROW + SECTION HEADINGS ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--gray); margin-top: 18px; font-size: 1.06rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid transparent; transition: all .3s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 10px 24px rgba(184,116,106,.32); }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(159,95,87,.40); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-3px); }

/* ---------- HEADER / NAV ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,246,.82); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; display: block; }

/* ---------- TEXT WORDMARK LOGO (CSS only — no image) ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark-name {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 400;
  font-size: 2.05rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-left: .15em;
}
.wordmark-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 10px;
  padding-left: .12em;
}
/* Footer variant — on dark, a touch larger and more elegant */
.wordmark--footer { margin-bottom: 22px; }
.wordmark--footer .wordmark-name { font-size: 2.3rem; color: #fff; }
.wordmark--footer .wordmark-sub { color: var(--rose); font-size: .76rem; letter-spacing: .55em; margin-top: 12px; }

@media (max-width: 640px) {
  .wordmark-name { font-size: 1.65rem; letter-spacing: .12em; }
  .brand-logo { height: 44px; max-width: 64vw; }
  .footer-logo-img { height: 48px; max-width: 70vw; }
}
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-size: .92rem; font-weight: 500; color: var(--charcoal); transition: color .2s; }
.nav-menu a:hover { color: var(--rose); }
.nav-menu a.nav-cta {
  background: var(--rose); color: #fff; padding: 11px 22px; border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(184,116,106,.28);
}
.nav-menu a.nav-cta:hover { background: var(--rose-deep); color: #fff; }
.menu-toggle {
  display: none; background: none; border: none; font-size: 1.5rem; color: var(--charcoal); cursor: pointer;
}

/* ---------- HERO ---------- */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
.hero h1 .accent { color: var(--rose); font-style: italic; }
.hero-sub { color: var(--gray); font-size: 1.14rem; margin: 26px 0 34px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--charcoal); }
.hero-trust i { color: var(--rose); }

/* Hero visual: layered device mockups + decorative shapes */
.hero-visual { position: relative; }
.blob { position: absolute; border-radius: 50%; filter: blur(34px); opacity: .55; z-index: 0; }
.blob-1 { width: 320px; height: 320px; background: var(--rose-soft); top: -30px; right: -20px; animation: drift 20s var(--ease) infinite; }
.blob-2 { width: 240px; height: 240px; background: #EADFD8; bottom: -10px; left: -30px; animation: drift 24s var(--ease) infinite reverse; }
.petal { position: absolute; z-index: 0; opacity: .5; }
.petal svg { display: block; }

.mock-browser {
  position: relative; z-index: 2; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f6f1ee; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d9cdc7; }
.mock-bar span:nth-child(1) { background: #e6a59c; }
.mock-screen { aspect-ratio: 16 / 10; overflow: hidden; background: var(--rose-soft); }
.mock-screen img { width: 100%; height: 100%; object-fit: cover; }

/* floating secondary device (phone) */
.mock-phone {
  position: absolute; z-index: 3; bottom: -36px; left: -34px; width: 140px;
  background: #fff; border-radius: 22px; border: 1px solid var(--border);
  box-shadow: var(--shadow-md); padding: 8px; animation: floaty 6s ease-in-out infinite .8s;
}
.mock-phone .mock-screen { aspect-ratio: 9 / 17; border-radius: 14px; }
.mock-phone::after { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: rgba(0,0,0,.12); }

/* floating preview card (3rd preview) */
.mock-card {
  position: absolute; z-index: 3; top: -28px; right: -26px; width: 190px;
  background: #fff; border-radius: 14px; border: 1px solid var(--border);
  box-shadow: var(--shadow-md); padding: 10px; animation: floaty 8s ease-in-out infinite .4s;
}
.mock-card .swatch { height: 84px; border-radius: 9px; background: linear-gradient(135deg, var(--rose), #d8a39a); margin-bottom: 9px; }
.mock-card-img { height: 108px; border-radius: 9px; overflow: hidden; }
.mock-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-card .ln { height: 7px; border-radius: 4px; background: #eee3de; margin: 6px 0; }
.mock-card .ln.short { width: 55%; }
.mock-card .tag { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-top: 9px; }

/* ---------- WHY (feature grid) ---------- */
.why { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--rose-soft); }
.why-icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--rose-soft);
  display: flex; align-items: center; justify-content: center; color: var(--rose); font-size: 1.3rem; margin-bottom: 22px;
}
.why-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.why-card p { color: var(--gray); font-size: .98rem; }

/* ---------- PORTFOLIO ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.work-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.work-shot { position: relative; }
/* Tall "full website page" window; gently auto-scrolls on hover */
.work-thumb { height: 360px; overflow: hidden; background: #fff; position: relative; border-bottom: 1px solid var(--border); }
.work-thumb .scrollable { position: absolute; top: 0; left: 0; width: 100%; transition: transform 3.4s ease; }
.work-thumb img.scrollable { height: auto; display: block; }
.work-card:hover .work-thumb .scrollable { transform: translateY(calc(360px - 100%)); }

/* Full-page website mockups — pure CSS, swap any for a real screenshot later.
   Theme each via inline vars: --mk (primary), --mk2 (accent), --bg, --ink */
.site-mock { font-family: var(--font-body); background: var(--bg, #f6f4ef); color: var(--ink, #2a2a2a); }
.site-mock .mk-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #fff; border-bottom: 1px solid rgba(0,0,0,.07); }
.site-mock .mk-logo { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--mk); }
.site-mock .mk-links { display: flex; gap: 9px; }
.site-mock .mk-links i { width: 22px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.12); display: block; }
.site-mock .mk-hero { padding: 36px 22px 40px; text-align: center; }
.site-mock .mk-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .22em; color: var(--mk2, var(--mk)); text-transform: uppercase; margin-bottom: 11px; }
.site-mock .mk-h1 { font-family: var(--font-head); font-weight: 700; font-size: 27px; line-height: 1.12; color: var(--mk); margin-bottom: 13px; }
.site-mock .mk-p { font-size: 11px; color: rgba(0,0,0,.5); max-width: 250px; margin: 0 auto 18px; line-height: 1.55; }
.site-mock .mk-btn { display: inline-block; background: var(--mk); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .04em; padding: 10px 20px; border-radius: 6px; }
/* image placeholders inside the mockups (swap for <img> anytime) */
.site-mock .mk-img {
  border-radius: 8px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='0.72' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='2'/><circle cx='8.5' cy='9.5' r='1.6'/><path d='M21 15l-5-5L7 20'/></svg>"),
    linear-gradient(135deg, var(--mk2, #cfc7bf), var(--mk));
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 26px, cover;
}
.site-mock .mk-hero-img { height: 120px; border-radius: 0; }
.site-mock .mk-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 18px 22px; background: #fff; }
.site-mock .mk-gallery .mk-img { height: 66px; }
.site-mock .mk-band { background: var(--mk); color: #fff; text-align: center; padding: 22px; font-family: var(--font-head); font-size: 15px; }
.site-mock .mk-foot { background: #1c1c1c; height: 48px; }
.work-meta { padding: 26px 28px 30px; }
.work-meta .cat { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.work-meta h3 { font-size: 1.32rem; margin: 10px 0 10px; }
.work-meta p { color: var(--gray); font-size: .95rem; }

/* ---------- PROCESS TIMELINE ---------- */
.process { background: var(--white); border-top: 1px solid var(--border); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--rose-soft), var(--rose), var(--rose-soft)); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--rose); color: #fff; font-family: var(--font-head); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(184,116,106,.35);
  border: 4px solid var(--white);
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--gray); font-size: .92rem; }

/* ---------- STATS / TRUST BAND ---------- */
.trust-band { background: var(--charcoal); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.trust-item { padding: 14px; }
.trust-item .big { font-family: var(--font-head); font-size: 1.7rem; color: #fff; margin-bottom: 8px; }
.trust-item .big em { color: var(--rose); font-style: normal; }
.trust-item p { color: rgba(255,255,255,.62); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.trust-divider { width: 46px; height: 2px; background: var(--rose); margin: 0 auto 14px; border-radius: 2px; }

/* ---------- TESTIMONIALS ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 34px; position: relative; box-shadow: var(--shadow-sm);
}
.quote-card .mark { font-family: var(--font-head); font-size: 4rem; line-height: .6; color: var(--rose-soft); height: 34px; }
.quote-card blockquote { font-size: 1.04rem; color: #3a3a3a; font-style: italic; margin: 8px 0 24px; }
.quote-who { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), #d8a39a);
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.1rem;
}
.quote-who .nm { font-weight: 600; font-size: .96rem; }
.quote-who .bz { color: var(--gray); font-size: .84rem; }

/* ---------- FINAL CTA ---------- */
.final-cta { padding: 40px 0 120px; }
.final-cta-panel {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #fff 0%, var(--rose-soft) 100%);
  border: 1px solid var(--border); border-radius: 30px; padding: 84px 28px;
  box-shadow: var(--shadow-md);
}
.final-cta-panel h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); max-width: 640px; margin: 0 auto 20px; }
.final-cta-panel p { color: var(--gray); font-size: 1.1rem; max-width: 520px; margin: 0 auto 34px; }
.final-cta-panel .blob { width: 260px; height: 260px; }
.final-cta-panel .blob-a { background: #f3ddd6; top: -80px; left: -60px; opacity: .6; }
.final-cta-panel .blob-b { background: #ecdcd4; bottom: -90px; right: -50px; opacity: .6; }

/* ---------- FOOTER (matches the interior pages) ---------- */
.footer { background: #141210; padding-top: 60px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 60px; padding-bottom: 60px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-logo-img { height: 56px; width: auto; display: block; }
.footer-wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.footer-wordmark .fw-name { font-family: "Times New Roman", Times, Georgia, serif; font-weight: 400; font-size: 2.2rem; letter-spacing: .15em; text-transform: uppercase; color: #fff; padding-left: .15em; }
.footer-wordmark .fw-sub { font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); margin-top: 10px; padding-left: .12em; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: rgba(255,255,255,.4); display: flex; align-items: center; transition: color .25s ease; }
.footer-social a:hover { color: var(--rose); }
.footer-about .eyebrow { margin-bottom: 14px; color: var(--rose); }
.footer-about p { line-height: 1.75; color: rgba(255,255,255,.5); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links h3 { color: #fff; margin-bottom: 8px; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body); }
.footer-links a { color: rgba(255,255,255,.45); font-size: .9rem; transition: color .25s ease; }
.footer-links a:hover { color: var(--rose); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .85rem; margin: 0; }
.privacy-link { color: rgba(255,255,255,.25); font-size: .85rem; transition: color .25s ease; }
.privacy-link:hover { color: var(--rose); }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- ANIMATIONS ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(14px,-12px); } }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { order: 2; margin: 0 auto; max-width: 460px; width: 100%; }
  .why-grid, .work-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .timeline::before { display: none; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 20px; text-align: left; padding-bottom: 34px; position: relative; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 26px; top: 58px; bottom: 6px; width: 2px; background: var(--rose-soft); }
  .step-num { margin: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-about { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 6px;
    background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 24px 22px;
    box-shadow: var(--shadow-md); display: none; align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 11px 4px; }
  .nav-menu a.nav-cta { text-align: center; margin-top: 6px; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding: 50px 0 70px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 16px 22px; }
  .why-grid, .work-grid, .quotes-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; padding-bottom: 48px; }
  .footer-about { order: -1; grid-column: auto; }
  .footer-brand { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-links { align-items: center; }
  .mock-phone { width: 110px; left: -14px; bottom: -24px; }
  .mock-card { width: 150px; right: -10px; }
  .final-cta-panel { padding: 60px 22px; border-radius: 22px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
