/* Masi Digital shared styles — subpages + homepage v4 additions */
:root{
  --ink:#0B0F0C;--ink-2:#2A302C;--muted:#5F6762;--muted-2:#8E9590;
  --line:#E8EBE9;--line-2:#F1F3F2;--g:#00A651;--g-btn:#00913F;--g-btn-2:#007F37;--g-text:#007A35;
  --mint-50:#F0FBF4;--mint-100:#DFF7E8;--mint-200:#BFEFD1;--mint-300:#8EE2AF;
  --gold:#B8955B;--gold-soft:#F6EFE2;--gold-line:#E4D3B4;--gold-ink:#8A6A35;
  --sans:'Inter',system-ui,sans-serif;--serif:'Instrument Serif',Georgia,serif;
  --r:16px;--r-lg:24px;
  --shadow-sm:0 1px 2px rgba(11,15,12,.04),0 1px 1px rgba(11,15,12,.03);
  --shadow:0 1px 2px rgba(11,15,12,.04),0 10px 30px -12px rgba(11,15,12,.12);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.6;letter-spacing:-.006em;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 28px}
.serif{font-family:var(--serif);font-weight:400;font-style:italic;letter-spacing:-.01em}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--g-text)}
.eyebrow::before{content:"";width:22px;height:1px;background:var(--gold)}
.center .eyebrow::after,.eyebrow.center::after{content:"";width:22px;height:1px;background:var(--gold)}
h1,h2,h3,h4{font-weight:600;letter-spacing:-.035em;line-height:1.05;color:var(--ink)}
h1{font-size:clamp(36px,5vw,60px);margin:16px 0 18px}
h2{font-size:clamp(34px,4.4vw,54px);margin:16px 0 18px}
h2 .serif,h1 .serif{color:var(--g);font-size:1.08em}
.lead{color:var(--muted);font-size:18px;max-width:600px}
.section{padding:100px 0;position:relative}
.section-head{max-width:720px;margin-bottom:56px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head.center .lead{margin:0 auto}
.rule{height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent);margin:0 auto;max-width:1200px}
.btn{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 22px;border-radius:999px;font-weight:500;font-size:15px;transition:all .25s cubic-bezier(.2,.7,.2,1);white-space:nowrap;cursor:pointer;border:0;font-family:inherit}
.btn-primary{background:linear-gradient(180deg,var(--g-btn),var(--g-btn-2));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 1px 2px rgba(0,90,40,.25),0 8px 20px -6px rgba(0,145,63,.45)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow-sm)}
.btn-ghost:hover{border-color:var(--mint-300);color:var(--g-text)}
.btn-sm{height:40px;padding:0 18px;font-size:14px}
.nav{position:fixed;top:0;left:0;right:0;height:76px;z-index:50;display:flex;align-items:center;transition:background .3s,box-shadow .3s,backdrop-filter .3s}
.nav.scrolled{background:rgba(255,255,255,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 0 var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;width:100%}
.logo{display:inline-flex;align-items:center;gap:0;line-height:0}
.logo img.logo-img{height:28px;width:auto}
.logo-mark{width:32px;height:32px;border-radius:50%;border:1px solid var(--gold-line);display:grid;place-items:center;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden}
.logo-mark img{width:18px;height:18px;object-fit:contain}
.nav-links{display:flex;gap:28px;font-size:14.5px;color:var(--ink-2)}
.nav-links a:hover{color:var(--g-text)}
.burger{display:none;background:none;border:0;cursor:pointer;color:var(--ink);padding:8px}
.mobile-menu{display:none;position:fixed;inset:76px 0 0;background:#fff;z-index:49;padding:28px;flex-direction:column;gap:18px;border-top:1px solid var(--line)}
.mobile-menu.open{display:flex}
.mobile-menu a{font-size:18px;font-weight:500}
footer{padding:80px 0 40px;border-top:1px solid var(--line);margin-top:40px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:48px}
.foot-brand p{color:var(--muted);font-size:14.5px;margin:14px 0;max-width:280px}
.foot-brand .mail{color:var(--g-text);font-weight:500}
.foot-col{display:flex;flex-direction:column;gap:10px}
.foot-col h5{font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin-bottom:6px}
.foot-col a{font-size:14.5px;color:var(--muted)}
.foot-col a:hover{color:var(--g-text)}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:28px;border-top:1px solid var(--line-2);font-size:13.5px;color:var(--muted)}
.wordmark-huge{margin-top:56px;text-align:center;line-height:0;padding:0 16px}
.page-hero{padding:160px 0 80px}
.page-hero .crumbs{font-size:13px;color:var(--muted);margin-bottom:18px}
.page-hero .crumbs a{color:var(--g-text)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;box-shadow:var(--shadow-sm)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.prose{max-width:720px;margin:0 auto}
.prose p,.prose li{color:var(--ink-2);font-size:17px;line-height:1.7;margin-bottom:1.1em}
.prose h2{font-size:clamp(26px,3vw,36px);margin:48px 0 16px}
.prose h3{font-size:22px;margin:32px 0 12px;letter-spacing:-.02em}
.prose ul,.prose ol{padding-left:1.3em;margin-bottom:1.2em}
.prose a{color:var(--g-text);border-bottom:1px solid var(--mint-300)}
.tag{display:inline-block;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--g-text);background:var(--mint-50);border:1px solid var(--mint-200);padding:4px 10px;border-radius:99px}
.ph-note{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--gold-ink);background:var(--gold-soft);border:1px solid var(--gold-line);padding:5px 12px;border-radius:99px}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s}
.reveal.in{opacity:1;transform:none}
@media(max-width:960px){
  .nav-links,.nav-book{display:none}.burger{display:block}
  .foot-grid{grid-template-columns:1fr 1fr}.grid-2,.grid-3{grid-template-columns:1fr}
}
@media(max-width:560px){.container{padding:0 18px}.foot-grid{grid-template-columns:1fr}.section{padding:70px 0}}

@media(max-width:800px){.page-hero .container[style*="grid-template-columns"]{display:block!important}.page-hero img{margin-bottom:28px}}


/* Brand logo images */
.logo{display:inline-flex;align-items:center;gap:0;line-height:0}
.logo img.logo-full{height:28px;width:auto;display:block}
.logo img.logo-full.logo-lg{height:32px}
.foot-brand .logo img.logo-full{height:30px}
.wordmark-huge{margin-top:56px;text-align:center;line-height:0;padding:0 16px}
.wordmark-huge img{width:min(880px,90vw);height:auto;margin:0 auto;opacity:.16;filter:none;pointer-events:none;user-select:none}
.cmp th.us .cmp-logo{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--gold-line);vertical-align:middle;margin-right:8px;background:#fff;overflow:hidden}
.cmp th.us .cmp-logo img{width:16px;height:16px;object-fit:contain}
.vsl-brand{display:inline-flex;align-items:center;gap:8px}
.vsl-brand img.vsl-logo{height:18px;width:auto;display:block}
.cal-host .cal-logo{height:16px;width:auto;display:inline-block;vertical-align:-2px;margin-left:4px}
@media(max-width:560px){
  .logo img.logo-full{height:22px}
  .foot-brand .logo img.logo-full{height:24px}
  .wordmark-huge img{width:min(100%,340px);opacity:.18}
  .vsl-brand img.vsl-logo{height:14px}
}


.nav .logo img.logo-full{height:26px}
@media(min-width:961px){.nav .logo img.logo-full{height:28px}}

/* ===== Authority visual system v5 ===== */
:root{
  --r:18px; --r-lg:26px;
  --shadow-sm:0 1px 2px rgba(11,15,12,.045),0 2px 8px -4px rgba(11,15,12,.06);
  --shadow:0 1px 2px rgba(11,15,12,.04),0 16px 40px -18px rgba(11,15,12,.16);
  --shadow-lg:0 2px 4px rgba(11,15,12,.04),0 28px 64px -24px rgba(11,15,12,.2);
}
body{font-size:16.5px;line-height:1.65}
.section{padding:110px 0}
.section-head{margin-bottom:60px}
.section-head h2{letter-spacing:-.038em}
.lead{font-size:18.5px;line-height:1.55;max-width:620px}
.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:600}
.eyebrow::before{width:28px;height:1.5px;background:linear-gradient(90deg,var(--gold),var(--gold-line))}
.center .eyebrow::after,.eyebrow.center::after{width:28px;height:1.5px;background:linear-gradient(90deg,var(--gold-line),var(--gold))}
.card{border-radius:var(--r-lg);padding:32px;box-shadow:var(--shadow-sm);transition:border-color .3s,box-shadow .3s,transform .3s}
.card:hover{border-color:var(--mint-200);box-shadow:var(--shadow)}
.page-hero{padding:168px 0 88px;position:relative}
.page-hero::before{content:"";position:absolute;inset:76px 0 auto;height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent);pointer-events:none}
.page-hero h1{margin-top:14px}
.page-hero .lead{margin-top:8px}
.crumbs{font-size:13px;letter-spacing:.01em}
.nav{height:78px}
.nav.scrolled{box-shadow:0 1px 0 var(--line),0 10px 30px -20px rgba(11,15,12,.12)}
.nav-links{gap:26px;font-size:14px;font-weight:500;letter-spacing:-.01em}
.btn{letter-spacing:-.01em}
.btn-primary{box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,90,40,.22),0 10px 24px -8px rgba(0,145,63,.5)}
.prose{max-width:740px}
.prose p,.prose li{font-size:17.5px;line-height:1.75;color:var(--ink-2)}
.prose h2{position:relative;padding-top:8px}
.tag{letter-spacing:.06em}
.ph-note{letter-spacing:.05em}
footer{padding:96px 0 48px;margin-top:56px;border-top:1px solid var(--line)}
.foot-col h5{letter-spacing:.1em;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:16px}
.foot-brand p{line-height:1.55}
.rule{height:1px;background:linear-gradient(90deg,transparent 0%,var(--line) 15%,var(--line) 85%,transparent 100%);margin:0 auto;max-width:1200px;opacity:.95}

/* Editorial section overline number (opt-in via data-sec) */
.section[data-sec]::before{content:attr(data-sec);position:absolute;top:36px;left:max(28px,calc(50% - 600px));font-family:var(--serif);font-style:italic;font-size:13px;letter-spacing:.08em;color:var(--gold-ink);opacity:.55}

@media(max-width:960px){
  .section{padding:80px 0}
  .page-hero{padding:140px 0 64px}
  .section[data-sec]::before{left:18px}
}

/* Crisp full-resolution brand lockup */
.nav{height:84px;background:#fff;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.nav.scrolled{background:#fff;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.nav .logo img.logo-full{height:36px;width:auto;max-width:none}
.foot-brand .logo img.logo-full{height:39px;width:auto}
.mobile-menu{top:84px}
.faq-placeholder{display:block;margin-bottom:8px;color:var(--gold-ink);font-size:12px;font-weight:600;letter-spacing:.02em}
@media(max-width:1080px) and (min-width:961px){.nav-links{gap:12px;font-size:13px}.nav .logo img.logo-full{height:31px}}
@media(max-width:560px){.nav .logo img.logo-full{height:31px}.foot-brand .logo img.logo-full{height:32px}}

/* Quiet, professional footer — normal brand lockup, no watermark */
footer{background:#F8FAF9;border-top:1px solid #E4EAE6;padding:68px 0 30px;margin-top:48px}
footer .foot-grid{gap:32px;margin-bottom:32px}
footer .foot-brand .logo img.logo-full{height:36px;width:auto;max-width:100%}
footer .foot-col h5{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#39443D;margin-bottom:14px}
footer .foot-col a{font-size:13px;line-height:1.5;color:#5F6762}
footer .foot-col a:hover{color:#007A35}
footer .foot-bottom{font-size:12px;border-top:1px solid #E4EAE6;padding-top:22px;line-height:1.5}
@media(max-width:560px){footer{padding:48px 0 24px}footer .foot-grid{gap:26px}footer .foot-brand .logo img.logo-full{height:31px}footer .foot-bottom{gap:16px;flex-wrap:wrap}}

/* V9: footer strategy CTA and accessible social links. */
footer .footer-action{margin-top:22px}footer .footer-action .btn{font-size:13px;padding:13px 18px;display:inline-flex;gap:12px;white-space:normal}
footer .footer-socials{display:flex;align-items:center;gap:10px}footer>.footer-socials{max-width:1140px;margin:20px auto 0;padding:0 24px;justify-content:flex-end}
footer .footer-socials a{width:38px;height:38px;border:1px solid #DBE5DF;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#43584A;background:#fff}footer .footer-socials a:hover{color:#007A35;border-color:#00A651}footer .footer-socials a:focus-visible{outline:2px solid #00A651;outline-offset:3px}
@media(max-width:560px){footer>.footer-socials{justify-content:flex-start}}

/* Live Calendly booking; branding follows the Calendly account setting. */
.calendar-booking-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:28px;padding:10px;box-shadow:0 1px 2px rgba(11,15,12,.04),0 30px 70px -30px rgba(11,15,12,.2)}
.calendar-booking-card .calendly-inline-widget{width:100%;max-width:none;margin:0;min-height:1000px;height:1000px!important;background:#fff}
.calendar-fallback{text-align:center;font-size:14px;color:var(--muted);padding:16px 12px;margin:0}
.calendar-fallback a{color:#008842;text-decoration:underline;text-underline-offset:3px}
#calendar{scroll-margin-top:100px}
@media(max-width:600px){
  .calendar-booking-card{padding:0;border-radius:20px}
  .calendar-booking-card .calendly-inline-widget{width:100%;max-width:none;margin:0;min-height:1150px;height:1150px!important;background:#fff}
  .calendar-booking-card .cal-embed{border:0;border-radius:20px;overflow:visible}
  .calendar-booking-card .cal-embed iframe{min-height:1150px;height:1150px;max-width:none}
}

