/* MeCSS Executive Product — derived from the Marevyo design system */
body.mecss-executive {
  --black: #10282d;
  --graphite: #10282d;
  --white: #fff;
  --warm: #f3f2ee;
  --mid: #6c7775;
  --line: #d8ddd7;
  --teal: #17454a;
  --teal-soft: #27666a;
  --mint: #aabbb7;
  --rust: #a65f47;
  --apricot: #bfa28d;
  --max: 1440px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  background: var(--warm);
  color: var(--graphite);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mecss-executive :focus-visible { outline-color: var(--rust); }
.mecss-executive h1,
.mecss-executive h2,
.mecss-executive h3 { font-weight: 650; }
.mecss-executive h1 { letter-spacing: -.065em; }
.mecss-executive h2 { letter-spacing: -.052em; }
.mecss-executive p { color: var(--mid); }
.mecss-executive .eyebrow { margin-bottom: 1rem; color: var(--rust); font-size: .64rem; font-weight: 750; }
.mecss-executive .lead { line-height: 1.5; }

/* Navigation */
.mecss-executive .site-header {
  border-color: var(--line);
  background: rgba(243, 242, 238, .94);
  backdrop-filter: blur(18px);
}
.mecss-executive .nav-shell { min-height: 86px; }
.mecss-executive .brand { width: auto; align-items: center; gap: .75rem; }
.mecss-executive .brand .brand-signet { width: 33px; height: 33px; object-fit: contain; }
.mecss-executive .brand-name { display: grid; line-height: 1; }
.mecss-executive .brand-name strong { font-size: 1.2rem; letter-spacing: -.04em; }
.mecss-executive .brand-name small { margin-top: .38rem; color: var(--mid); font-size: .52rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.mecss-executive .nav-links { gap: clamp(.9rem, 1.65vw, 1.65rem); }
.mecss-executive .nav-links a { padding: 2rem 0; color: var(--graphite); font-size: .68rem; font-weight: 650; letter-spacing: .045em; }
.mecss-executive .nav-links a::after { bottom: 1.5rem; height: 2px; background: var(--rust); }
.mecss-executive .nav-links a.nav-portal {
  border-color: var(--graphite);
  padding: .72rem .9rem !important;
  background: var(--graphite);
  color: var(--white);
}
.mecss-executive .nav-links a.nav-portal:hover,
.mecss-executive .nav-links a.nav-portal:focus-visible {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

/* Buttons */
.mecss-executive .button { min-height: 46px; border-radius: 2px; border-color: var(--graphite); background: var(--graphite); font-size: .66rem; letter-spacing: .08em; }
.mecss-executive .button:hover { background: var(--teal); transform: translateY(-2px); }
.mecss-executive .button.light { border-color: var(--graphite); background: transparent; color: var(--graphite); }
.mecss-executive .button.light:hover { background: var(--graphite); color: white; }
.mecss-executive .button.white { border-color: white; background: white; color: var(--graphite); }
.mecss-executive .text-link { color: var(--teal-soft); font-size: .7rem; letter-spacing: .08em; }

/* Homepage hero */
.mecss-executive .executive-hero { background: var(--warm); }
.mecss-executive .home-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  min-height: calc(100vh - 86px);
  gap: clamp(3rem, 6vw, 7rem);
  padding-top: clamp(3.8rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}
.mecss-executive .home-hero-copy h1 {
  max-width: 850px;
  margin: 1.25rem 0 1.6rem;
  color: var(--graphite);
  font-size: clamp(4rem, 6.4vw, 6.6rem);
  font-weight: 650;
  line-height: .92;
}
.mecss-executive .home-hero-copy h1 span { display: block; color: var(--teal-soft); }
.mecss-executive .home-hero-copy .lead { max-width: 630px; font-size: clamp(1.08rem, 1.5vw, 1.42rem); }
.mecss-executive .hero-actions { margin-top: 2.1rem; }
.executive-proof { display: flex; flex-wrap: wrap; gap: 1.1rem 2rem; margin-top: clamp(2.5rem, 5vw, 4.4rem); padding-top: 1.3rem; border-top: 1px solid var(--line); }
.executive-proof div { display: grid; gap: .3rem; }
.executive-proof strong { font-size: .69rem; }
.executive-proof span { color: var(--mid); font-size: .58rem; }
.executive-interface { position: relative; min-height: 590px; padding: 1.45rem; overflow: hidden; background: var(--graphite); box-shadow: 0 35px 90px rgba(16, 40, 45, .17); }
.executive-interface::after { content: ""; position: absolute; right: -5rem; bottom: -5rem; width: 16rem; height: 16rem; border: 2.5rem solid rgba(170, 187, 183, .1); border-radius: 50%; pointer-events: none; }
.executive-interface-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: white; }
.executive-interface-top span { font-size: .7rem; font-weight: 700; }
.executive-interface-top small { color: var(--mint); font-size: .55rem; letter-spacing: .12em; }
.executive-score { position: relative; z-index: 1; margin: 3rem 0 1.6rem; }
.executive-score span { color: var(--mint); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.executive-score strong { display: block; margin-top: .45rem; color: white; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.06em; }
.executive-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.executive-card { min-height: 135px; padding: 1.2rem; background: var(--warm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.executive-card:nth-child(2) { background: var(--mint); }
.executive-card:nth-child(3) { background: white; }
.executive-card:nth-child(4) { background: var(--rust); color: white; }
.executive-card:hover { z-index: 2; transform: translateY(-4px); box-shadow: 0 15px 28px rgba(0, 0, 0, .14); }
.executive-card small { font-size: .52rem; font-weight: 700; opacity: .7; }
.executive-card strong { margin-top: auto; font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.04em; }
.executive-card p { margin: .3rem 0 0; color: inherit; font-size: .62rem; line-height: 1.4; opacity: .78; }
.executive-next { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .55rem; padding: 1rem; background: rgba(255, 255, 255, .08); color: white; }
.executive-next span { font-size: .58rem; }
.executive-next b { color: var(--mint); font-size: .58rem; letter-spacing: .07em; }

/* Homepage content system */
.mecss-executive .home-thesis { padding: clamp(5rem, 9vw, 8rem) 0; background: white; }
.mecss-executive .thesis-grid { grid-template-columns: .38fr 1.62fr; }
.mecss-executive .home-thesis h2 { max-width: 950px; font-weight: 650; }
.mecss-executive .home-thesis .lead { color: var(--graphite); }
.mecss-executive .home-fields { background: var(--warm); }
.mecss-executive .home-section-head { margin-bottom: 3rem; }
.mecss-executive .field-list { border-color: var(--line); }
.mecss-executive .field-row { margin-bottom: .65rem; padding: 1.55rem 1.6rem; border: 0; border-top: 3px solid var(--mint); background: white; transition: transform .2s ease, box-shadow .2s ease; }
.mecss-executive .field-row:nth-child(2) { border-top-color: var(--teal-soft); }
.mecss-executive .field-row:nth-child(3) { border-top-color: var(--rust); }
.mecss-executive .field-row:nth-child(4) { border-top-color: var(--apricot); }
.mecss-executive .field-row:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(16, 40, 45, .08); }
.mecss-executive .field-index { color: var(--rust); font-size: .65rem; font-weight: 750; letter-spacing: .12em; }
.mecss-executive .field-kicker { color: var(--mid); }
.mecss-executive .round-link { border-color: var(--line); background: var(--warm); }
.mecss-executive .round-link:hover { border-color: var(--graphite); background: var(--graphite); color: white; }
.mecss-executive .section.home-founder { background: var(--teal); }
.mecss-executive .home-founder .eyebrow { color: #d38a70; }
.mecss-executive .home-founder h2,
.mecss-executive .home-founder blockquote,
.mecss-executive .home-founder .founder-roles { color: white; }
.mecss-executive .home-founder p { color: #bccdca; }
.mecss-executive .home-founder .text-link { color: white; }
.mecss-executive .founder-intro,
.mecss-executive .founder-facts { border-color: rgba(255, 255, 255, .18); }
.mecss-executive .home-evidence { background: white; }
.mecss-executive .evidence-feature { background: var(--graphite); }
.mecss-executive .evidence-feature::after { border-color: rgba(170, 187, 183, .14); }
.mecss-executive .publication-card { border-color: var(--line); }
.mecss-executive .publication-card.book-black { background: var(--teal-soft); }
.mecss-executive .publication-card.book-white { background: var(--warm); }
.mecss-executive .home-products { background: var(--graphite); }
.mecss-executive .product-tile { border-color: rgba(255, 255, 255, .16); background: var(--teal); }
.mecss-executive .product-tile-light { background: var(--mint); color: var(--graphite); }
.mecss-executive .product-tile-outline { background: transparent; }
.mecss-executive .home-conversion { background: var(--warm); }
.mecss-executive .conversion-actions { border-color: var(--line); background: white; }
.mecss-executive .conversion-actions a { border-color: var(--line); }
.mecss-executive .conversion-actions a:hover { background: var(--mint); color: var(--graphite); }

/* Subpages */
.mecss-executive .page-hero { position: relative; overflow: hidden; padding: clamp(5.5rem, 10vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem); border-color: var(--line); background: var(--warm); }
.mecss-executive .page-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: clamp(7px, 1.1vw, 16px); background: var(--rust); }
.mecss-executive .page-hero::after { content: ""; position: absolute; right: clamp(-8rem, -4vw, 0rem); top: 50%; width: min(38vw, 500px); aspect-ratio: 1; transform: translateY(-50%); border: clamp(2rem, 4vw, 4rem) solid rgba(39, 102, 106, .07); border-radius: 50%; pointer-events: none; }
.mecss-executive .page-hero .wrap { position: relative; z-index: 1; }
.mecss-executive .page-hero h1 { max-width: 1100px; font-size: clamp(3.6rem, 7.4vw, 7.2rem); font-weight: 650; }
.mecss-executive .page-index a { border-color: var(--line); background: rgba(255, 255, 255, .55); font-weight: 650; }
.mecss-executive .page-index a:hover { border-color: var(--graphite); background: var(--graphite); color: white; }
.mecss-executive .section { background: white; }
.mecss-executive .section.warm { border: 0; background: var(--warm); }
.mecss-executive .section.black { background: var(--graphite); }
.mecss-executive .section.black .eyebrow { color: #d38a70; }
.mecss-executive .section.black p { color: #bccdca; }
.mecss-executive .statement { background: var(--teal); }
.mecss-executive .statement h2 { color: white; }
.mecss-executive .statement p { color: #c2d1ce; }
.mecss-executive .statement .eyebrow { color: #d38a70; }
.mecss-executive .grid-2,
.mecss-executive .grid-3,
.mecss-executive .grid-4 { gap: .75rem; border: 0; background: transparent; }
.mecss-executive .service-card { min-height: 295px; border: 1px solid var(--line); border-top: 3px solid var(--mint); background: white; transition: transform .2s ease, box-shadow .2s ease; }
.mecss-executive .service-card:nth-child(2) { border-top-color: var(--teal-soft); }
.mecss-executive .service-card:nth-child(3) { border-top-color: var(--rust); }
.mecss-executive .service-card:nth-child(4) { border-top-color: var(--apricot); }
.mecss-executive .service-card:hover { background: white; color: var(--graphite); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(16, 40, 45, .09); }
.mecss-executive .service-card:hover h3 { color: var(--graphite); }
.mecss-executive .service-card:hover p,
.mecss-executive .service-card:hover .number { color: var(--mid); }
.mecss-executive .service-card .number { color: var(--rust); font-weight: 750; }
.mecss-executive .feature-list,
.mecss-executive .feature-list li,
.mecss-executive .process,
.mecss-executive .process-item { border-color: var(--line); }
.mecss-executive .process-item::before { color: var(--rust); font-weight: 750; }
.mecss-executive .quote-block { background: var(--teal); }
.mecss-executive .quote-block cite { color: var(--mint); }
.mecss-executive .founder-card { border-color: var(--line); background: white; }
.mecss-executive .credentials span { border-color: var(--line); background: var(--warm); }
.mecss-executive .product-card { border-color: var(--line); background: white; box-shadow: 0 25px 70px rgba(16, 40, 45, .08); }
.mecss-executive .product-visual { background: var(--graphite); }
.mecss-executive .product-visual::before,
.mecss-executive .product-visual::after { border-color: rgba(170, 187, 183, .24); }
.mecss-executive .product-visual .metric:first-of-type { background: var(--mint); }
.mecss-executive .contact-layout { gap: clamp(2rem, 7vw, 7rem); }
.mecss-executive .contact-form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-top: 4px solid var(--teal-soft); background: white; box-shadow: 0 24px 70px rgba(16, 40, 45, .08); }
.mecss-executive .field input,
.mecss-executive .field textarea,
.mecss-executive .field select { border-color: var(--line); background: var(--warm); }
.mecss-executive .legal { padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); background: white; }

/* Footer */
.mecss-executive .site-footer { border: 0; background: var(--graphite); }
.mecss-executive .footer-grid { padding-top: 1rem; }
.mecss-executive .footer-grid p { color: var(--mint); }
.mecss-executive .footer-column strong { color: #789491; }
.mecss-executive .footer-column a { color: #dbe5e2; }
.mecss-executive .footer-column a:hover { color: white; }

@media (max-width: 1180px) {
  .mecss-executive .home-hero-grid { grid-template-columns: 1fr; }
  .mecss-executive .home-hero-copy { max-width: 900px; }
  .mecss-executive .executive-interface { width: min(100%, 780px); min-height: 560px; justify-self: center; }
}

@media (max-width: 1080px) {
  .mecss-executive .nav-links { border-color: var(--line); background: var(--warm); }
  .mecss-executive .nav-links a { color: var(--graphite); }
  .mecss-executive .menu-toggle span { background: var(--graphite); }
}

@media (max-width: 760px) {
  .mecss-executive .nav-shell { min-height: 72px; }
  .mecss-executive .brand-name small { display: none; }
  .mecss-executive .home-hero-grid { min-height: auto; padding-top: 4rem; padding-bottom: 5rem; }
  .mecss-executive .home-hero-copy h1 { font-size: clamp(3.1rem, 13vw, 4.5rem); }
  .mecss-executive .executive-interface { min-height: auto; padding: 1rem; }
  .mecss-executive .executive-grid { grid-template-columns: 1fr; }
  .mecss-executive .executive-card { min-height: 120px; }
  .mecss-executive .executive-score { margin-top: 2.5rem; }
  .mecss-executive .executive-next { align-items: flex-start; flex-direction: column; }
  .mecss-executive .thesis-grid { grid-template-columns: 1fr; }
  .mecss-executive .field-row { padding: 1.3rem 1rem; }
  .mecss-executive .page-hero { padding-top: 5rem; }
  .mecss-executive .page-hero h1 { font-size: clamp(2.9rem, 12vw, 4.6rem); }
}

@media (max-width: 420px) {
  .mecss-executive .home-hero-copy h1,
  .mecss-executive .page-hero h1 { overflow-wrap: normal; hyphens: manual; }
  .executive-proof { display: grid; grid-template-columns: 1fr 1fr; }
}
