@charset "UTF-8";

/* =========================
   Theme tokens (resume + GM)
   ========================= */
:root{
  --brand: #be2371;
  --brand-tint: rgba(216, 75, 138, .12);
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 12px 36px rgba(0,0,0,.08);
  --card: rgba(255,255,255,.86);
}
  


/* =========================
   Base
   ========================= */
html, body{
  height: 100%;
}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 10% 12%, rgba(214, 133, 214, .22), transparent 62%),
    radial-gradient(880px 520px at 92% 18%, rgba(70, 173, 210, .18), transparent 60%),
    radial-gradient(820px 520px at 70% 92%, rgba(130, 190, 255, .14), transparent 60%),
    radial-gradient(760px 420px at 26% 92%, rgba(223, 148, 53, .12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

/* =========================
   Layout shell
   ========================= */
.site-shell{
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

@media (max-width: 991.98px){
  .site-shell{
    grid-template-columns: 1fr;
  }
  .main{
    padding-top: 64px; /* room for mobile top bar */
  }
}

/* =========================
   Desktop sidebar (resume style)
   ========================= */
.sidebar{
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  border-right: 1px solid rgba(11,16,32,.10);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sidebar-inner{
  height: 100%;
  display: flex;
  flex-direction: column;
  /* gap: 16px; */
}

.sidebar-top{
  text-align: center;
  padding: 10px 10px 6px;
}

.sidebar-title{
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .2px;
}

.image.maggie img{
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 11px; 
  /*border-radius: 999px; round */
  border: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.sidebar-nav{
  display: grid;
  gap: 6px;
  padding: 6px; 
}

.sidebar-subsection{
  margin-top: 12px;
}

.sidebar-nav .nav-link{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(11,16,32,.86);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 10px;
}

.sidebar-nav .nav-link i{
  width: 18px;
  text-align: center;
  color: rgba(11,16,32,.72);
}

.sidebar-nav .nav-link:hover{
  background: linear-gradient(180deg, rgba(231, 196, 209, 0.7) 0%, #dbb6d266 100%);
  border: 1px solid rgba(140,110,120,.20);
  color: rgba(11,16,32,.92);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .22); /* light gold outline */
}
/* old 
.sidebar-nav .nav-link:hover{
  background: rgba(15, 23, 42, 0.06);
  color: rgba(11,16,32,.95);
}
  */

.sidebar-nav .nav-link.active{
  background: linear-gradient(180deg, rgba(221, 185, 198, 0.7) 0%, #d4afcb66 100%);

  border: 1px solid rgba(140,110,120,.30);
  color: rgba(11,16,32,.95);
}

/* =========================
   Scrollable left sidebar
   ========================= */
.sidebar-scroll{
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;   /* ← THIS is the key */
  padding-right: 6px; /* space for scrollbar */
}

/* Optional: nicer scrollbar (Chrome / Edge) */
.sidebar-scroll::-webkit-scrollbar{
  width: 6px;
}
.sidebar-scroll::-webkit-scrollbar-thumb{
  background: #f4b7a6;
  border-radius: 6px;
}
.sidebar-scroll::-webkit-scrollbar-thumb:hover{
  background: #e89a82;
}

.menu-panel{
  overflow-y: auto;   /* <- important for long mobile menu */
  overflow-x: hidden;
  padding-right: 6px; /* space for scrollbar */
  -webkit-overflow-scrolling: touch;
}

/* Firefox (simple but nice) */
.sidebar-scroll,
.menu-panel{
  scrollbar-width: thin;
  scrollbar-color: #f4b7a6 transparent; /* thumb, track */
}

/* Chrome / Edge / Safari */
.sidebar-scroll::-webkit-scrollbar,
.menu-panel::-webkit-scrollbar{
  width: 10px;   /* 6–12 */
}

.sidebar-scroll::-webkit-scrollbar-track,
.menu-panel::-webkit-scrollbar-track{
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb,
.menu-panel::-webkit-scrollbar-thumb{
  background: #f4b7a6;           /* thumb color */
  border-radius: 999px;
  border: 3px solid transparent;  /* creates “padding” around thumb */
  background-clip: content-box;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover,
.menu-panel::-webkit-scrollbar-thumb:hover{
  background: #e89a82;           /* hover thumb */
  background-clip: content-box;
}

/* =========================
   Sidebar expand / collapse
   ========================= */



.sidebar-subtitle:hover{
  color: var(--brand);
}

/* Collapsible group */
.sidebar-collapsible{
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition:
    grid-template-rows .3s ease,
    opacity .25s ease;
}

/* Closed */

/*
.sidebar-subtitle[aria-expanded="false"] + .sidebar-collapsible{
  grid-template-rows: 0fr;
  opacity: 0;
}
*/

/* Group headings (NOT links) */
.sidebar-subtitle{
  
  display: block;
  width: 100%;
  cursor: default;            /* no “link” cursor */
  user-select: none;

  margin: 12px 0 6px;
  padding: 6px 10px;

  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
 


  /*color: rgba(144, 49, 153, 0.55);  /* brighter (lighter) */

  color:#FFF; 
  border:0;
  background-image: linear-gradient(135deg, #d488b4 10%, #cfc5ca 100%);
  /* background-image: linear-gradient(135deg, #cfc5ca 10%, #f2c1d7 100%); */
  box-shadow: 0 5px 11px rgba(91, 61, 71, 0.22); */

  white-space: normal;     /* allow wrap */
  padding: 10px 12px;      /* a bit taller */
}
  

/* No hover color change */
.sidebar-subtitle:hover,
.sidebar-subtitle:focus{
  color: rgba(73, 3, 46, 0.55);
}

/* Keep subtitle text color the same on hover/focus */
.sidebar-subtitle:hover,
.sidebar-subtitle:focus,
.sidebar-subtitle:focus-visible{
  color: #fff !important;  /* or whatever your normal subtitle text color is */
}


.sidebar-bottom{
  margin-top: auto;
  padding-top: 8px;
}

.icons a{
  text-decoration: none;
  color: rgba(11,16,32,.70);
}
.icons a:hover{
  color: rgba(11,16,32,.95);
}

/* =========================
   Mobile top bar (GM vibe)
   ========================= */
.mobile-top{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,16,32,.10);
}

.mobile-brand{
  font-weight: 800;
  letter-spacing: .2px;
}

/* =========================
   Hero banner (resume style)
   ========================= */
.hero{
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid rgba(11,16,32,.10);
}

.hero-inner{
  max-width: 1050px;
}

/*  
.hero-inner{
  max-width: 100%;
}


*/
.pill{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .32rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(223,148,53,.28);

  /* background: rgba(223,148,53,.14); */
  background: linear-gradient(
    90deg,
    rgba(236, 72, 153, .20) 0%,   /* pink */
    rgba(223,148,53,.22) 45%,     /* gold */
    rgba(59, 130, 246, .18) 100%  /* blue */
  );
  color: rgba(11,16,32,.82);
  font-size: .85rem;
  font-weight: 800;
  width: fit-content;
}

.hero-title{
  margin: 14px 0 0;
  font-size: clamp(2rem, 2.8vw, 3rem);
  /* font-weight: 850; */
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-subtitle{
  margin-top: 10px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 650;
  color: rgba(17,24,39,.86);
}

.hero-card{
  margin-top: 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.60);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.15rem;
}


/* Video card: same vibe as hero-card */
.video-card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.60);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Match hero-card padding */
.video-card .video-body{
  padding: 1.25rem 1.25rem 1.15rem;
}

/* Responsive video area */
.video-card .video-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(11,16,32,.06);
}

.video-card .video-wrap video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wide{
  max-width: 1200px;   /* try 1200–1320 */
}

html{ scroll-behavior: smooth; }
#demo, #ux{ scroll-margin-top: 72px; }



/* =========================
   Main section + cards
   ========================= */
.section{
  padding: 2.25rem 0 1.25rem;
}

.content-card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.60);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.15rem;
  margin-bottom: 18px;
  .btn.btn-outline-dark:hover,
.btn.btn-outline-dark:focus{
  color: #fff !important;
}

.btn.btn-outline-dark:hover .fa,
.btn.btn-outline-dark:focus .fa{
  color: inherit !important;
}
}

.card-title{
  /* font-weight: 800; */
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* =========================
   Footer
   ========================= */
.site-footer{
  margin-top: 1.75rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(11,16,32,.10);
  background: rgba(250,250,250,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer .menu{
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.site-footer a{
  color: rgba(11,16,32,.86);
  text-decoration: none;
  font-weight: 650;
}
.site-footer a:hover{
  text-decoration: underline;
}

/* =========================
   GM slide-out menu (mobile)
   ========================= */


.menu-btn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(11,16,32,.12);
  background: rgba(255,255,255,.90);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.menu-overlay{
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 23, 42, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.menu-panel{
  padding-top: 0 !important;

  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 92vw);
  z-index: 1200;

  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255,255,255,0.55);

  transform: translateX(110%);
  transition: transform .25s ease;
  box-shadow: -24px 0 60px rgba(0,0,0,0.14);
  padding: 18px;

  /* this is for menu scroll */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
}
.menu-panel .menu-head{
  margin: 0;
  background: transparent; /* or set same bg as .menu-panel */
}

.menu-head{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11,16,32,.10);
  margin-bottom: 12px;
  z-index: 20 !important;

  /* header (“Maggie HTTN” + X button) to stay visible while scrolling */
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 5;
}

.menu-title{
  font-weight: 850;
  font-size: 1.05rem;
  color: #0b1020;
  margin: 0;
}

.menu-close{
  display:grid !important;
  place-items:center !important;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(11,16,32,.12);
  background: rgba(255,255,255,.92);
  color:#111 !important;          /* <-- most common problem */
  font-size:28px !important;      /* <-- if font-size got reset */
  line-height:1 !important;
  opacity:1 !important;
  visibility:visible !important;
  position:relative;
  z-index: 21 !important;
}

.menu-close:hover{
  opacity: 1;
  background: rgba(255,255,255,.92);
  border-color: rgba(11,16,32,.16);
  transform: translateY(-1px);
}

.menu-close:active{
  transform: translateY(0);
}

/* Keyboard accessibility */
.menu-close:focus-visible{
  outline: 3px solid rgba(70,173,210,.35); /* your accent vibe */
  outline-offset: 2px;
}

.menu-panel a{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(11,16,32,.86);
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.85rem;
}

.menu-panel a:hover{
  background: rgba(15, 23, 42, 0.06);
  color: rgba(11,16,32,.95);
}

.menu-hr{
  border: 0;
  border-top: 1px solid rgba(11,16,32,.10);
  margin: 12px 0;
}

.menu-social{
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.icon-link{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  border: 1px solid rgba(11,16,32,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  color: rgba(11,16,32,.86);
  text-decoration: none;
  font-weight: 700;
}

.icon-link:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  border-color: rgba(11,16,32,.16);
}

/* Open state */
.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}
.menu-open .menu-panel{
  transform: translateX(0);
}
body.menu-open{
  overflow: hidden;
}


/* Visual Algorithms: prevent link-blue titles inside clickable cards */
.content-card a { 
  color: inherit;
}

.content-card a:hover,
.content-card a:focus {
  color: inherit;
}


/* buton learn more 

.btn-pink{
  color:#fff;
  border:0;
  background-image: linear-gradient(135deg, #e993bd 0%, #a74c75 100%);
  box-shadow: 0 10px 22px rgba(139, 71, 102, 0.22);
}
.btn-pink:hover{
  color:#fff;
  background-image: linear-gradient(135deg, #b18d9d 0%, #944367 100%);
  transform: translateY(-1px);
}
.btn-pink:active{ transform: translateY(0); }
.btn-pink:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(225, 87, 150, .28), 0 8px 18px rgba(139, 71, 102, 0.12);
} 
  

/* buton learn more */

.btn-pink
{
  color:#fff;
  border:0;
  background-image: linear-gradient(135deg, #e993bd 0%, #a74c75 100%);
  box-shadow: 0 10px 22px rgba(139, 71, 102, 0.22);
}
.btn-pink:hover{
  color:#fff;
  background-image: linear-gradient(135deg, #b18d9d 0%, #944367 100%);
  transform: translateY(-1px);
}
.btn-pink:active{ transform: translateY(0); }
.btn-pink:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(225, 87, 150, .28), 0 8px 18px rgba(139, 71, 102, 0.12);
}


/*. video card */
.video-card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.60);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(11,16,32,.06);
}

.video-wrap video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/*
.btn-pink{
  color:#fff;
  border:0;
  background-image: linear-gradient(135deg, #46add2 0%, #eb7dae 100%);
  box-shadow: 0 10px 22px rgba(47, 123, 220, .22);
}
.btn-pink:hover{
  color:#fff;
  background-image: linear-gradient(135deg, #3aa3c7 0%, #e6a1bd 100%);
  transform: translateY(-1px);
}
.btn-pink:active{ transform: translateY(0); }
.btn-pink:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(70, 173, 210, .30), 0 10px 22px rgba(47, 123, 220, .22);
}



 Pink CTA button (Bootstrap-compatible) 
.btn-pink{
  --bs-btn-color: #fff;
  --bs-btn-bg: #d84b8a;            
  --bs-btn-border-color: #d84b8a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #c4417a;
  --bs-btn-hover-border-color: #c4417a;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b83a6f;
  --bs-btn-active-border-color: #b83a6f;
  --bs-btn-focus-shadow-rgb: 216, 75, 138;
}
  */


/* Shorter nav pills (normal/hover/active) */
.sidebar .sidebar-nav .nav-link{
  padding: 6px 9px !important;   /* smaller height */
}

  /* Make subtitle bars taller than nav pills */
.sidebar .sidebar-subtitle{
  display: flex !important;
  align-items: center !important;
  min-height: 45px;            /* increase to 48px if you want bigger */
  padding: 0 12px !important;  /* horizontal only */
  box-shadow: 0 5px 10px rgba(0,0,0,.08) !important; /* less shadow */
}

/* Portrait / flexible video wrapper (does NOT force 16:9) */
/* Portrait video override: only applies when you use .video-wrap-auto */
.video-wrap.video-wrap-auto{
  background: #fff;
  aspect-ratio: auto;      /* remove 16:9 */
  padding: 18px;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Override the absolute-fill behavior ONLY for portrait wrapper */
.video-wrap.video-wrap-auto video{
  position: static;        /* cancels absolute */
  inset: auto;             /* cancels inset:0 */
  width: auto;             /* use natural width */
  height: auto;            /* use natural height */
  max-width: 100%;        /* control size */
  object-fit: contain;     /* no crop */
  display: block;
  background: #000;
  border-radius: 14px;
}

/* Fix: allow main area to use full available width (desktop) 
@media (min-width: 992px){
  .main{
    max-width: none !important;
    width: 100% !important;
  }
}
  */

/* Wider layout on desktop (Bootstrap containers) 
@media (min-width: 992px){
  .container{
    max-width: 1320px !important; /* try 1320, 1440, or 1600 */
    /*
  }
} */

