/* =========================================================
   michaelmanos.tech — shared brand system
   One header, one footer, one set of brand tokens for every page.
   Brand: Pine / Leaf / Sky, black & white, small gold accent.
   Type: Red Hat Text throughout (brand toolbox, Nov 2026).
   ========================================================= */
:root {
  --mm-pine: #183A25;
  --mm-pine-ink: #0F2618;
  --mm-leaf: #049E40;
  --mm-leaf-dark: #037A32;
  --mm-leaf-pale: #E7F5EC;
  --mm-sky: #CCE5FF;
  --mm-sky-pale: #E6F2FF;
  --mm-sky-deep: #037A32;
  --mm-gold: #9BBDDF;
  --mm-cream: #FBF9F4;
  --mm-ink: #222222;
  --mm-ink-soft: #3D4F47;
  --mm-ink-mute: #5E6E66;
  --mm-line: #E3E9E5;
  --mm-display: 'Red Hat Text', 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mm-text: 'Red Hat Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Content safety: never leave content invisible if JS/observer fails ---------- */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.mm-no-js .fade-in, html.mm-no-js .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Accessibility helpers ---------- */
.mm-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--mm-pine); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0; font: 600 .9rem var(--mm-text); }
.mm-skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--mm-leaf); outline-offset: 2px; }

/* =========================================================
   HEADER
   ========================================================= */
.mmh, .mmh * { box-sizing: border-box; }
.mmh { position: sticky; top: 0; z-index: 500; font-family: var(--mm-text); }
.mmh a { text-decoration: none; }
.mmh ul { list-style: none; margin: 0; padding: 0; }

.mmh-bar { background: var(--mm-pine); color: rgba(255,255,255,.88); font-size: .78rem; line-height: 1; }
.mmh-bar-inner { max-width: 1280px; margin: 0 auto; padding: .55rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mmh-bar-left { display: flex; align-items: center; gap: .5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mmh-bar-left::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5FD48C; flex-shrink: 0; }
.mmh-bar-left strong { color: #fff; font-weight: 700; }
.mmh-bar-left em { font-style: normal; color: #5FD48C; font-weight: 600; }
.mmh-bar-right { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.mmh-bar-right a { color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: .35rem; min-height: 24px; }
.mmh-bar-right a:hover { color: #fff; text-decoration: underline; }
.mmh-bar-right svg { width: 13px; height: 13px; flex-shrink: 0; }

.mmh-nav { background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--mm-line); }
.mmh-nav-inner { max-width: 1280px; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.mmh-id { display: flex; align-items: center; gap: .75rem; color: var(--mm-ink); flex-shrink: 0; }
.mmh-id-photo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--mm-leaf); flex-shrink: 0; background: var(--mm-pine); }
.mmh-id-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.mmh-id-text { line-height: 1.15; white-space: nowrap; }
.mmh-id-name { font-family: var(--mm-display); font-weight: 800; font-size: 1.12rem; color: var(--mm-pine); letter-spacing: -.01em; display: block; }
.mmh-id-sub { font-size: .72rem; color: var(--mm-ink-mute); font-weight: 500; display: inline-flex; align-items: center; gap: .3rem; margin-top: 2px; }
.mmh-bluum { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--mm-leaf); }
.mmh-bluum img { height: 12px; width: auto; display: block; }

.mmh-links { display: flex; align-items: center; gap: .35rem; }
.mmh-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 10px; font-family: var(--mm-text); font-size: .93rem; font-weight: 600; color: var(--mm-ink-soft); white-space: nowrap; transition: background .15s, color .15s; }
.mmh-links a:hover { background: var(--mm-leaf-pale); color: var(--mm-pine); }
.mmh-links a[aria-current="page"] { color: var(--mm-pine); background: var(--mm-leaf-pale); }

.mmh-cta { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: var(--mm-pine); color: #fff !important; font-family: var(--mm-text); font-weight: 700; font-size: .92rem; white-space: nowrap; flex-shrink: 0; transition: background .15s, transform .15s; }
.mmh-cta:hover { background: var(--mm-leaf-dark); transform: translateY(-1px); }
.mmh-cta svg { width: 15px; height: 15px; }

.mmh-menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--mm-line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--mm-pine); flex-shrink: 0; }
.mmh-menu-btn svg { width: 22px; height: 22px; }
.mmh-panel { display: none; }

@media (max-width: 1040px) {
  .mmh-links { display: none; }
  .mmh-menu-btn { display: inline-flex; }
  .mmh-right { display: flex; align-items: center; gap: .5rem; }
  .mmh-panel { background: #fff; border-bottom: 1px solid var(--mm-line); box-shadow: 0 20px 40px -20px rgba(15,38,24,.35); padding: .5rem 1.5rem 1.25rem; }
  .mmh.is-open .mmh-panel { display: block; }
  .mmh-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--mm-line); font-weight: 700; font-size: 1.02rem; color: var(--mm-pine); font-family: var(--mm-text); }
  .mmh-panel a[aria-current="page"] { color: var(--mm-leaf-dark); }
  .mmh-panel a:last-child { border-bottom: 0; }
  .mmh-panel .mmh-panel-meta { display: flex; gap: .6rem; flex-wrap: wrap; padding-top: 1rem; }
  .mmh-panel .mmh-panel-meta a { min-height: 44px; border: 1px solid var(--mm-line); border-radius: 999px; padding: 0 1rem; font-size: .88rem; font-weight: 600; justify-content: center; }
}
@media (min-width: 1041px) { .mmh-right { display: flex; align-items: center; gap: 1rem; } }
@media (max-width: 720px) {
  .mmh-bar-left { display: none; }
  .mmh-bar-right a { min-height: 34px; padding: 0 .2rem; }
  .mmh-bar-inner { justify-content: center; padding: .5rem 1rem; }
  .mmh-bar-right { gap: 1rem; }
  .mmh-nav-inner { padding: .55rem 1rem; gap: .75rem; }
  .mmh-id-photo { width: 38px; height: 38px; }
  .mmh-id-name { font-size: 1rem; }
  .mmh-cta { padding: 0 1rem; font-size: .85rem; }
  .mmh-cta svg { display: none; }
}
@media (max-width: 400px) {
  .mmh-id-sub { display: none; }
  .mmh-bar-right .mmh-bar-email { display: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.mmf, .mmf * { box-sizing: border-box; }
.mmf { background: var(--mm-pine-ink); color: rgba(255,255,255,.78); font-family: var(--mm-text); font-size: .92rem; line-height: 1.6; position: relative; overflow: hidden; }
.mmf a { color: rgba(255,255,255,.85); text-decoration: none; }
.mmf a:hover { color: #fff; text-decoration: underline; }
.mmf ul { list-style: none; margin: 0; padding: 0; }
.mmf-inner { max-width: 1280px; margin: 0 auto; padding: 3.5rem 1.5rem 1.5rem; position: relative; z-index: 1; }
.mmf-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.1fr; gap: 2.5rem; }
.mmf-brand p { margin: 1rem 0 1.1rem; max-width: 340px; color: rgba(255,255,255,.72); }
.mmf-id { display: flex; align-items: center; gap: .8rem; }
.mmf-id img.mmf-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--mm-leaf); }
.mmf-id strong { display: block; font-family: var(--mm-display); font-weight: 800; font-size: 1.15rem; color: #fff; line-height: 1.1; }
.mmf-id span { font-size: .8rem; color: rgba(255,255,255,.65); }
.mmf-stamp { display: inline-block; width: 96px; height: auto; margin-top: .25rem; }
.mmf h4 { font-family: var(--mm-display); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #5FD48C; margin: 0 0 .9rem; }
.mmf-col li a { display: inline-flex; align-items: center; min-height: 32px; }
.mmf-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.55); }
.mmf-pattern { position: absolute; right: -120px; top: -120px; width: 420px; opacity: .06; pointer-events: none; }
@media (max-width: 1040px) { .mmf-grid { grid-template-columns: 1fr 1fr 1fr; } .mmf-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .mmf-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .mmf-col li a { min-height: 40px; }
  .mmf-bottom { flex-direction: column; }
}

/* ---------- Mini-site helper: breadcrumb strip under header ---------- */
.mm-crumb { background: var(--mm-cream); border-bottom: 1px solid var(--mm-line); font-family: var(--mm-text); font-size: .85rem; }
.mm-crumb-inner { max-width: 1280px; margin: 0 auto; padding: .5rem 1.5rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--mm-ink-mute); }
.mm-crumb a { color: var(--mm-leaf-dark); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.mm-crumb a:hover { text-decoration: underline; }
.mm-crumb span[aria-current] { color: var(--mm-pine); font-weight: 700; }

/* ---------- Responsive tables everywhere ---------- */
.mm-table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mm-table-scroll > table { min-width: 560px; }
@media print { .mmh, .mmf, .mm-crumb, .mm-pagenote, .mm-skip { display: none !important; } }

/* ---------- Page-specific fine print above the shared footer ---------- */
.mm-pagenote { background: var(--mm-cream); border-top: 1px solid var(--mm-line); font-family: var(--mm-text); }
.mm-pagenote-inner { max-width: 1280px; margin: 0 auto; padding: 1.1rem 1.5rem; font-size: .82rem; line-height: 1.6; color: var(--mm-ink-mute); }
.mm-pagenote a { color: var(--mm-leaf-dark); font-weight: 600; }

/* =========================================================
   Feature tile (Dell-special style) — works on any page
   ========================================================= */
.mmx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .mmx-grid { grid-template-columns: 1fr; } }
.mmx-card, .mmx-card * { box-sizing: border-box; }
.mmx-card { background: #fff; border: 1px solid var(--mm-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; font-family: var(--mm-text); color: var(--mm-ink); text-align: left; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mmx-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 30px 60px -24px rgba(15,38,24,.32); }
.mmx-visual { position: relative; height: 240px; overflow: hidden; display: block; text-decoration: none; background-size: cover; background-position: center; }
.mmx-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,38,24,.05) 0%, rgba(15,38,24,.7) 100%); pointer-events: none; }
.mmx-visual-roi { background: radial-gradient(circle at 85% 0%, rgba(4,158,64,.45), transparent 55%), linear-gradient(135deg, #1E4A2F 0%, #0F2618 100%); }
.mmx-visual-roi::before { content: ''; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px; background: url('img/bluum-pattern.png') center / contain no-repeat; opacity: .08; }
.mmx-cover { position: absolute; right: 7%; top: 30px; width: 34%; max-width: 150px; border-radius: 4px; transform: rotate(5deg); box-shadow: 0 18px 40px rgba(0,0,0,.45); z-index: 1; transition: transform .35s; }
.mmx-card:hover .mmx-cover { transform: rotate(2deg) translateY(-4px); }
.mmx-badge { position: absolute; top: 1rem; left: 1rem; z-index: 3; height: 32px; display: inline-flex; align-items: center; gap: .35rem; background: #fff; padding: 0 .8rem; border-radius: 8px; font-weight: 900; font-size: .82rem; color: var(--mm-pine); letter-spacing: -.01em; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.mmx-badge img { height: 18px; width: auto; display: block; }
.mmx-tag { position: absolute; top: 1rem; right: 1rem; z-index: 3; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 999px; background: #9BBDDF; color: var(--mm-pine-ink); }
.mmx-visual-roi .mmx-tag { right: auto; left: 1rem; top: 3.4rem; background: var(--mm-gold); }
.mmx-caption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 2; color: #fff; }
.mmx-visual-roi .mmx-caption { right: 46%; }
.mmx-caption h3 { font-family: var(--mm-display); font-weight: 800; font-size: 1.3rem; line-height: 1.18; margin: 0; letter-spacing: -.01em; color: #fff; }
.mmx-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.mmx-note { display: flex; align-items: center; gap: .55rem; background: var(--mm-leaf-pale); border-left: 3px solid var(--mm-leaf); border-radius: 10px; padding: .55rem .75rem; margin-bottom: .95rem; font-size: .8rem; line-height: 1.35; color: #0F5A2A; }
.mmx-note img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 1.5px solid var(--mm-leaf); flex-shrink: 0; }
.mmx-desc { font-size: .93rem; line-height: 1.62; color: var(--mm-ink-soft); margin: 0 0 1.2rem; flex: 1; }
.mmx-desc strong { color: var(--mm-ink); }
.mmx-price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.15rem; margin-bottom: 1.15rem; border-bottom: 1px solid var(--mm-line); }
.mmx-price { font-family: var(--mm-display); font-weight: 800; font-size: 1.2rem; color: var(--mm-leaf-dark); line-height: 1.15; }
.mmx-price small { display: block; font-family: var(--mm-text); font-weight: 600; font-size: .72rem; color: var(--mm-ink-mute); margin-top: .15rem; }
.mmx-meta { font-size: .74rem; color: var(--mm-ink-mute); text-align: right; }
.mmx-actions { display: flex; gap: .6rem; }
.mmx-btn { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: 0 1rem; border-radius: 999px; font-family: var(--mm-text); font-weight: 700; font-size: .88rem; text-decoration: none; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.mmx-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.mmx-btn-primary { background: var(--mm-pine); color: #fff !important; }
.mmx-btn-primary:hover { background: var(--mm-leaf-dark); }
.mmx-btn-ghost { background: #fff; color: var(--mm-ink-soft) !important; border: 1px solid var(--mm-line); }
.mmx-btn-ghost:hover { border-color: var(--mm-leaf); color: var(--mm-leaf-dark) !important; }

/* Wide variant: image left, body right */
.mmx-card.mmx-wide { flex-direction: row; }
.mmx-card.mmx-wide .mmx-visual { height: auto; min-height: 320px; flex: 0 0 44%; }
.mmx-card.mmx-wide .mmx-body { padding: 1.9rem 2rem; }
.mmx-card.mmx-wide .mmx-caption h3 { font-size: 1.55rem; }
@media (max-width: 860px) {
  .mmx-card.mmx-wide { flex-direction: column; }
  .mmx-card.mmx-wide .mmx-visual { min-height: 0; height: 240px; flex: none; }
  .mmx-card.mmx-wide .mmx-body { padding: 1.5rem; }
  .mmx-card.mmx-wide .mmx-caption h3 { font-size: 1.3rem; }
}
@media (max-width: 420px) { .mmx-actions { flex-direction: column; } .mmx-caption h3 { font-size: 1.15rem; } }

.mmx-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3.5rem 0 1.25rem; }
.mmx-row-head h3 { font-family: var(--mm-display); font-weight: 800; font-size: 1.35rem; color: var(--mm-pine); margin: 0; letter-spacing: -.01em; }
.mmx-row-head span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-leaf-dark); }

/* =========================================================
   Brand toolbox (Nov 2026)
   Red Hat Text throughout: semibold titles, regular body, italic "powered by".
   ========================================================= */
:root { --mm-stamp-green: #134A36; --mm-stamp-cream: #F5EDD6; --mm-sky: #9BBDDF; --mm-sky-light: #CCE5FF; --mm-black: #222222; --mm-ink: #222222; }
.mmh-pb, .mmf em, em.pb { font-style: italic; font-weight: 500; }
.mmh-lockup { height: 14px; width: auto; display: inline-block; vertical-align: -2px; }
.mmf-lockup { height: 13px; width: auto; display: inline-block; vertical-align: -2px; margin-left: 2px; }
.mmf-stamp { width: 120px; }
.mmh-id-name, .mmf-id strong { font-weight: 700; letter-spacing: -.01em; }
.mmx-caption h3, .mmx-price, .mmx-row-head h3 { font-weight: 700; }

/* =========================================================
   Bluum garden graphics (from Bluum's pattern library)
   Decorative only: never behind body text, never clickable.
   ========================================================= */
.bl-host { position: relative; overflow: hidden; isolation: isolate; }
.roi-spotlight, .shield-visual { isolation: isolate; }
.bl-host > .container, .bl-host > .wrap, .bl-host > .mmf-inner, .bl-host > .jx-wrap { position: relative; z-index: 1; }
.bl-deco { position: absolute; pointer-events: none; user-select: none; z-index: -1; height: auto; max-width: none; }
.bl-garland { top: -2px; width: min(360px, 40vw); }
.bl-garland.r { right: 6%; }
.bl-garland.l { left: 6%; }
.bl-corner-bl { left: -80px; bottom: -110px; width: 260px; }
.bl-corner-br { right: -70px; bottom: -100px; width: 250px; }
.bl-corner-tr { right: -70px; top: -80px; width: 240px; }
.bl-soft { opacity: .9; }
.bl-leaf { width: 92px; }
.mmf .bl-garland { width: min(300px, 36vw); }
@media (max-width: 720px) {
  .bl-garland { width: 46vw; }
  .bl-corner-bl, .bl-corner-br, .bl-corner-tr { width: 170px; }
  .bl-corner-bl { left: -70px; bottom: -80px; }
  .bl-corner-tr { right: -60px; top: -60px; }
  .bl-leaf { width: 64px; }
}
@media print { .bl-deco { display: none !important; } }
@media (max-width: 520px) { .bl-corner-bl, .bl-corner-br, .bl-corner-tr { display: none; } }
.teaser-photos { isolation: isolate; }
.teaser-photos img.bl-deco { border: 0; box-shadow: none; border-radius: 0; object-fit: contain; height: auto; }
.bl-garland-sm { width: min(280px, 34vw); }
.bl-sm { width: 180px; right: -60px; bottom: -70px; }
.bl-plant { width: 300px; right: -40px; top: auto; bottom: -30px; }
.bl-intro-art { right: 3%; bottom: -8px; width: min(340px, 30vw); }
@media (max-width: 980px) { .bl-intro-art, .bl-plant { display: none; } }
.bl-garland-xs { width: min(210px, 28vw); right: 3% !important; }

/* ===== Client Greenhouse tab (private client area) ===== */
.mmh-links a.mmh-zone { gap: .4rem; border: 1.5px solid var(--mm-leaf); color: var(--mm-pine); padding: 0 .85rem; min-height: 40px; border-radius: 999px; margin-left: .25rem; }
.mmh-links a.mmh-zone:hover, .mmh-links a.mmh-zone[aria-current="page"] { background: var(--mm-pine); border-color: var(--mm-pine); color: #fff; }
.mmh-lock { width: 14px; height: 14px; flex-shrink: 0; }
.mmh-panel a.mmh-zone { color: var(--mm-leaf-dark, #037a32); }
.mmh-panel a.mmh-zone .mmh-lock { width: 18px; height: 18px; }
@media (min-width: 1041px) and (max-width: 1240px) {
  .mmh-links { gap: .1rem; }
  .mmh-links a { padding: 0 .6rem; font-size: .9rem; }
  .mmh-links a.mmh-zone { padding: 0 .7rem; }
  .mmh-right { gap: .6rem !important; }
}
